From c02a30bf2ecb11f2d0de6365638dc95961356b4f Mon Sep 17 00:00:00 2001 From: Mike Leany <55358344+mikeleany@users.noreply.github.com> Date: Sun, 19 Sep 2021 15:50:54 -0600 Subject: [PATCH] Fix build errors. --- compiler/rustc_target/src/spec/x86_64_unknown_none.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/compiler/rustc_target/src/spec/x86_64_unknown_none.rs b/compiler/rustc_target/src/spec/x86_64_unknown_none.rs index b460ea1c29b55..89ed0ea532740 100644 --- a/compiler/rustc_target/src/spec/x86_64_unknown_none.rs +++ b/compiler/rustc_target/src/spec/x86_64_unknown_none.rs @@ -4,7 +4,10 @@ // `target-cpu` compiler flags to opt-in more hardware-specific // features. -use super::{CodeModel, LinkerFlavor, LldFlavor, PanicStrategy, Target, TargetOptions}; +use super::{ + CodeModel, LinkerFlavor, LldFlavor, PanicStrategy, RelocModel, RelroLevel, StackProbeType, + Target, TargetOptions, +}; pub fn target() -> Target { let opts = TargetOptions {