Opened 9 years ago
Closed 9 years ago
#48775 closed defect (fixed)
rust: update to 1.2.0
Reported by: | seanfarley (Sean Farley) | Owned by: | g5pw (Aljaž Srebrnič) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | haspatch | Cc: | |
Port: |
Description
I've been looking at rust and thought I'd upgrade it to 1.2.0. I think the bootstrapping is no longer needed since version 1.0 (the one we were using was old as well). Here is a patch for removing the bootstrapping code and preferring clang. Since I'm new to rust, I was hoping someone could give this a once over.
Attachments (1)
Change History (6)
Changed 9 years ago by seanfarley (Sean Farley)
Attachment: | rust.patch added |
---|
comment:1 Changed 9 years ago by seanfarley (Sean Farley)
comment:2 follow-up: 3 Changed 9 years ago by g5pw (Aljaž Srebrnič)
We just need to make sure the build phase can be completed without internet connection (i.e. the bootstrapping compiler is not getting downloaded on make
. If that is indeed true, you can go ahead and commit it, it looks good to me.
comment:3 Changed 9 years ago by seanfarley (Sean Farley)
Replying to g5pw@…:
We just need to make sure the build phase can be completed without internet connection (i.e. the bootstrapping compiler is not getting downloaded on
make
. If that is indeed true, you can go ahead and commit it, it looks good to me.
That is a good question. I will test it out but it seems that rust really, *really*, tries to force users to download bootstrapped binaries on the fly. If you have any suggestions of how to avoid that, please do tell.
comment:4 Changed 9 years ago by seanfarley (Sean Farley)
Ok, I finally cracked this. Thanks for the comment about the internet connection. That got me to figure out how to get a new stage0.
comment:5 Changed 9 years ago by seanfarley (Sean Farley)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Updated in r140141.
Any objections to pushing this?