Uh oh!
There was an error while loading. Please reload this page.
Implement flexible target specification - #16156
Conversation
emberian
commented
Aug 1, 2014
Still trying to figure out a bug where executables aren't getting the executable bit set... |
emberian
commented
Aug 1, 2014
Seems to have resolved itself with a rebase ¯_(ツ)_/¯ |
There was a problem hiding this comment.
This feature may want to remain unimplemented for now due to some open questions here, but it probably doesn't matter too much.
huonw
commented
Aug 1, 2014
Can you write a run-make test that checks the compiler is correctly searching for, parsing and using external specifications? (E.g. it could run |
emberian
commented
Aug 1, 2014
Another issue: probably needs to allow specifying |
emberian
commented
Aug 1, 2014
(The RFC specifies taking it from the target) |
emberian
commented
Aug 1, 2014
@huonw how do those docs look? |
emberian
commented
Aug 1, 2014
Hm, glaringly obvious problem: |
errordeveloper
commented
Aug 1, 2014
@farcaller we should try this with |
emberian
commented
Aug 1, 2014
Be warned that this isn't quite working yet. My current status is: |
emberian
commented
Aug 1, 2014
(Already fixed I think, still building..) |
There was a problem hiding this comment.
Do we have a story for interacting with cargo?
mneumann
commented
Aug 1, 2014
When compiling this on DragonFly I run into these problems: Maybe the |
There was a problem hiding this comment.
Ah nevermind, it would be nice to preserve the comments in the source code to this target specification about why this is false
vadimcn
commented
Oct 30, 2014
Rebased, fixed, squashed: https://github.com/vadimcn/rust/tree/flextarget. Passes tests on Windows. |
aturon
commented
Oct 31, 2014
Revived, yay! |
vadimcn
commented
Nov 2, 2014
Darn it! What's going on here??? |
emberian
commented
Nov 3, 2014
I can't replicate the android failure locally. @alexcrichton do you know what API level the emulators are using? |
alexcrichton
commented
Nov 3, 2014
Looks like #17448, but I think that we're using api version 19 maybe? |
Removes all target-specific knowledge from rustc. Some targets have changed during this, but none of these should be very visible outside of cross-compilation. The changes make our targets more consistent. iX86-unknown-linux-gnu is now only available as i686-unknown-linux-gnu. We used to accept any value of X greater than 1. i686 was released in 1995, and should encompass the bare minimum of what Rust supports on x86 CPUs. The only two windows targets are now i686-pc-windows-gnu and x86_64-pc-windows-gnu. The iOS target has been renamed from arm-apple-ios to arm-apple-darwin. A complete list of the targets we accept now: arm-apple-darwin arm-linux-androideabi arm-unknown-linux-gnueabi arm-unknown-linux-gnueabihf i686-apple-darwin i686-pc-windows-gnu i686-unknown-freebsd i686-unknown-linux-gnu mips-unknown-linux-gnu mipsel-unknown-linux-gnu x86_64-apple-darwin x86_64-unknown-freebsd x86_64-unknown-linux-gnu x86_64-pc-windows-gnu Closes#16093 [breaking-change]
vadimcn
commented
Nov 4, 2014
@cmr Congrats! :-) |
part of Support gen syntax (feature gen_blocks) rust-lang#16156
See commit message.