Uh oh!
There was an error while loading. Please reload this page.
move to the WIP Rust port of compiler-rt - #36992
Conversation
japaric
commented
Oct 6, 2016
rust-highfive
commented
Oct 6, 2016
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
bors
commented
Oct 8, 2016
☔ The latest upstream changes (presumably #37039) made this pull request unmergeable. Please resolve the merge conflicts. |
There was a problem hiding this comment.
Before we land this I think we'll want to be sure to move this to rust-lang-nursery under the name "compiler-builtins"
alexcrichton
commented
Oct 10, 2016
Sorry for being slow to take a look, want to rebase this and update with some recent changes and I'll throw it at the try bots? |
@japaric is this ready for the try bots? Sorry if I missed it! Also one thought I just remembered I've been meaning to write down. We compile all C builtins with Could you take a look at this and ensure that we compile compiler-builtins Rust-defined symbols with |
brson
commented
Oct 11, 2016
+1 |
nagisa
commented
Oct 11, 2016
NB: I’ll likely have to move this in-tree in order to get i128 intrinsics implemented, as we haven’t a way to stage out-of-tree dependencies AFAICT. |
japaric
commented
Oct 11, 2016
So, I checked and that's not the case. The Rust intrinsics appear as global/external symbols in dylibs (.so) whereas the C intrinsics don't. Seems like we'll have to do some compiler changes to change that behavior. |
bors
commented
Oct 28, 2016
☔ The latest upstream changes (presumably #37321) made this pull request unmergeable. Please resolve the merge conflicts. |
alexcrichton
commented
Nov 10, 2016
Ok, closing due to inactivity for now. I've added an entry to rust-lang/compiler-builtins#66 to track compiling the Rust versions with hidden visibility |
alexcrichton
commented
Nov 10, 2016
@japaric would you be interested in implementing such a patch to the compiler? If not I can take a look in the next few days |
japaric
commented
Nov 11, 2016
@alexcrichton All yours! (I've been meaning to look into this compiler change and how it relates to #37530 but I keep getting distracted with something else.) |
alexcrichton
commented
Nov 11, 2016
Ok, PR opened over at #37714 |
japaric
commented
Nov 16, 2016
Reopening now that #37714 landed. Rebased as well. Still testing locally but rustbuild is already past rustc-stage1. |
this replaces the in-tree compiler_builtins crate with the out-of-tree WIP Rust port of compiler-rt.
warning very lightly tested: make rustc-stage1 works with the Makefiles and with rustbuild but I haven't run make check yet.
I had to do some interesting changes in the upstream "rustc-builtins" crate but I'll open a PR in that repository to discuss those.
One thing to still needs to be done is updating
bootstrapto handle recursive submodules. I got the initialization of recursive submodules working but I haven't done the part that handles dirty/outdated recursive submodules.cc @alexcrichton can we throw this into the try buildbots?
cc @brson
cc @nagisa