<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt'>
<p>Ok, cool. I did a pkg upgrade on my 5.6 system and used 1.40 to successfully compile a program that uses the new async/.await feature, so that's pretty nice. Thanks for the work on the Rust port.</p>
<div> </div>
<p><br /></p>
<p>On 2019-12-31 02:12, Antonio Huete Jiménez wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">The rust-bootstrap-dragonfly repository is intended to be used just to create the bootstrap files for the rust port in DPorts. I have pushed now what we used to create the bootstrap for 1.40 (which is now in DPorts/master and in the binary packages), and that's the recommended one to use in DragonFly BSD installations, it should work in both release and master.<br /><br /><br /><span style="white-space: nowrap;">Chuck Musser <<a href="mailto:cmusser@sonic.net">cmusser@sonic.net</a>> escribió:</span><br /><br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Well, I got 1.39.0 to compile, but it might be that useful as an end product. This based on a fork of the "boostrap"repository: <a href="https://github.com/cmusser/rust-bootstrap-dragonfly" target="_blank" rel="noopener noreferrer">https://github.com/cmusser/rust-bootstrap-dragonfly</a>. It has the following caveats:<br /><br /> - master only. Both the resulting language tools (rustc, etc) and the binaries compiled with them only work on a system running master. I tried them on a 5.6 system and they require a libc that is not present, which I guess isn't surprising.<br /><br /> - In order for rustc to work, I had to set LD_LIBRARY_PATH to the "lib" subdirectory of the build products directory (the directory you specify as an argument to build.sh). This directory contains shared libraries whose names have long suffixes. I'm not sure where these live on a "production" system.<br /><br /><span style="white-space: nowrap;">- This is actually one version behind the current one, which is now 1.40.</span><br /><br /> At any rate, I had to create a couple of patches (one for the __errno_location() in libc, the other in the openssl-sys crate, to specify the ssl library directory). Also, one of the existing patches, to a part of LLVM had to be modified so that the proper name of a field in the statvfs structure was used. I'm not sure how much of this stuff is correct or can be incorporated into a more official build, but it's there for anyone who wants to look around.<br /><br /> Chuck</blockquote>
<br /><br /><br /></div>
</blockquote>
</body></html>