Skip to content

Commit 5c1602a

Browse files
committed
Fix issue with setting cfg(unix)
1 parent c6db2d5 commit 5c1602a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_back/target/redox_base.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ pub fn opts() -> TargetOptions {
3636
relocation_model: "static".to_string(),
3737
disable_redzone: true,
3838
eliminate_frame_pointer: false,
39+
target_family: Some("redox".to_string()),
3940
linker_is_gnu: true,
4041
no_default_libraries: true,
4142
has_elf_tls: true,

0 commit comments

Comments
 (0)