Skip to content

Commit 905b5ad

Browse files
authored
don't mark linux kernel module targets as a unix environment
1 parent 346aec9 commit 905b5ad

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustc_target/spec/linux_kernel_base.rs

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ pub fn opts() -> TargetOptions {
1717
needs_plt: true,
1818
relro_level: RelroLevel::Full,
1919
relocation_model: RelocModel::Static,
20-
target_family: Some("unix".to_string()),
2120
pre_link_args,
2221

2322
..Default::default()

0 commit comments

Comments
 (0)