- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Closed
Description
See
rust/src/librustc/session/config.rs
Lines 946 to 952 in ebeee0e
| let fam = if let Some(ref fam) = sess.target.target.options.target_family { | |
| Symbol::intern(fam) | |
| } else if sess.target.target.options.is_like_windows { | |
| Symbol::intern("windows") | |
| } else { | |
| Symbol::intern("unix") | |
| }; | 
This is very unhelpful for bare-metal targets where there is no target family. Is there code that relies on it defaulting to unix if it is unspecified?
CC @arcnmx
Metadata
Metadata
Assignees
Labels
No labels