Honor linker flavor - #270
Conversation
| .find(|l| l.starts_with("host: ")) | ||
| .map(|l| l[6..].to_string()) | ||
| .expect("Failed to parse rustc output to determine the current platform. Please report this bug!") | ||
| } |
There was a problem hiding this comment.
rustc --print host-tuple is simpler, though I don't know if it was available on your MSRV already.
There was a problem hiding this comment.
I want to support older rustc versions, so I aped this from Cargo and it never broke so I never changed it.
|
This works for me. But I feel like there should be a better way of getting this information out of |
|
I asked on the community discord and the response I got is that maybe adding a new |
-C linker-flavor=flag if passed explicitly@jonathanpallant please try this and let me know if it works for you