-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustc does not recognize "is-like-msvc" properly? #32818
Comments
That option isn't settable from JSON. This https://github.com/rust-lang/rust/blob/master/src/librustc_back/target/mod.rs#L419, plus a few other keys are supported. It probably should be settable from the JSON. |
Thanks. Guess reasonable keys which are missing are
|
Was there a reason for leaving the android and solaris ones out? |
Read "is-like-msvc" target option from JSON This is in reference to rust-lang#32818.
Issue was fixed at #32823 and landed with 2016-04-12 nightly. |
Idk about testcases, may be they needed for this. |
Here is a gist with the target specification.
When
"linker": "link.exe"
is specified, I get the following:If omit it, rustc calls
cc
:Why? This code shows that
is-like-msvc
must handle it properly. And such things as "-Wl,-Bstatic" is coming from GnuLinker.Meta:
The text was updated successfully, but these errors were encountered: