You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
crt-static is not passed to LLVM (and shouldn't be). It seems as if rustc consumes not just crt-static but also other target features that have it as a prefix? This filtering looks suspicious:
Activity
zackmdavis commentedon Oct 2, 2017
This is happening inside LLVM and plausibly should be filed with that project.
hanna-kruppe commentedon Oct 2, 2017
crt-staticis not passed to LLVM (and shouldn't be). It seems as if rustc consumes not justcrt-staticbut also other target features that have it as a prefix? This filtering looks suspicious:rust/src/librustc_trans/back/write.rs
Lines 119 to 121 in ded38db
petrochenkov commentedon May 10, 2020
Also rustc:
+and-. I tried to find places in LLVM where this could break things, but found a couple at best. Memory sanitizer perhaps? https://github.com/rust-lang/llvm-project/blob/rustc/9.0-2019-12-19/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp#L3738. The main thing (subtarget creation) is done correctly.There's at least one such place in rustc (
"+atomics"check).+or-. I have no idea why the assert inMCSubtargetInfo.cpp/ApplyFeatureFlagdoesn't fire on this.Rollup merge of rust-lang#72094 - petrochenkov:overfeature, r=nikic
Rollup merge of rust-lang#72094 - petrochenkov:overfeature, r=nikic