about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-11 07:21:54 +0000
committerbors <bors@rust-lang.org>2023-03-11 07:21:54 +0000
commit0f1f7b0840885fac83ff3f36053cb04833c1af5a (patch)
tree13d070bafb527926160cbdb47a22237471acd71f /compiler/rustc_codegen_gcc/example/std_example.rs
parent9f3c3ffaf83f9226f81c200c7bf8a04e4e3d5715 (diff)
parent05f633bdaf11ca3485b7e9fd2af11e9a917af459 (diff)
downloadrust-0f1f7b0840885fac83ff3f36053cb04833c1af5a.tar.gz
rust-0f1f7b0840885fac83ff3f36053cb04833c1af5a.zip
Auto merge of #2808 - saethlin:rustup, r=oli-obk
Rustup
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
-rw-r--r--compiler/rustc_codegen_gcc/example/std_example.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_gcc/example/std_example.rs b/compiler/rustc_codegen_gcc/example/std_example.rs
index 31069058aea..5c171c49fd1 100644
--- a/compiler/rustc_codegen_gcc/example/std_example.rs
+++ b/compiler/rustc_codegen_gcc/example/std_example.rs
@@ -1,5 +1,6 @@
 #![feature(core_intrinsics, generators, generator_trait, is_sorted)]
 
+#[cfg(feature="master")]
 use std::arch::x86_64::*;
 use std::io::Write;
 use std::ops::Generator;