From a621d1270ba97b16e90723c4e236b679f0222367 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 12 Dec 2016 21:16:42 -0700 Subject: [PATCH] Fix issue with setting cfg(unix) --- src/librustc_back/target/redox_base.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_back/target/redox_base.rs b/src/librustc_back/target/redox_base.rs index d06d3ae0657..e7445dcc7ea 100644 --- a/src/librustc_back/target/redox_base.rs +++ b/src/librustc_back/target/redox_base.rs @@ -36,6 +36,7 @@ pub fn opts() -> TargetOptions { relocation_model: "static".to_string(), disable_redzone: true, eliminate_frame_pointer: false, + target_family: Some("redox".to_string()), linker_is_gnu: true, no_default_libraries: true, has_elf_tls: true,