target_env should not include ABI information · Issue #78791 · rust-lang/rust (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
There are a few tier-3 targets that have ABI descriptors in their target_env
.
compiler/rustc_target/src/spec/armv6_unknown_freebsd.rs:13: target_env: "gnueabihf".to_string(),
compiler/rustc_target/src/spec/armv6_unknown_netbsd_eabihf.rs:14: target_env: "eabihf".to_string(),
compiler/rustc_target/src/spec/armv7_unknown_freebsd.rs:13: target_env: "gnueabihf".to_string(),
compiler/rustc_target/src/spec/armv7_unknown_netbsd_eabihf.rs:13: target_env: "eabihf".to_string(),
The precedent from other targets is that these should be just "gnu" or an empty string. This came up in the RFC for target_abi
, rust-lang/rfcs#2992 (comment), where I'd expect these targets will have target_abi: "eabihf"
.