Always set the RDRAND and RDSEED features on SGX

This commit is contained in:
Jethro Beekman 2018-12-11 18:04:33 +05:30
parent 3a31213371
commit 5acab2d7d1

View File

@ -49,6 +49,7 @@ pub fn target() -> Result<Target, String> {
max_atomic_width: Some(64),
panic_strategy: PanicStrategy::Abort,
cpu: "x86-64".into(),
features: "+rdrnd,+rdseed".into(),
position_independent_executables: true,
pre_link_args: iter::once(
(LinkerFlavor::Gcc, PRE_LINK_ARGS.iter().cloned().map(String::from).collect())