Always use extern crate std in cranelift-codegen

This commit is contained in:
bjorn3
2019-09-28 15:52:23 +02:00
committed by Dan Gohman
parent a114423d0a
commit 10e226f9ff
63 changed files with 89 additions and 90 deletions

View File

@@ -227,7 +227,7 @@ fn try_fold_redundant_jump(
}
// Build a value list of first_args (unchanged) followed by second_params (rewritten).
let arguments_vec: std::vec::Vec<_> = first_args
let arguments_vec: alloc::vec::Vec<_> = first_args
.iter()
.chain(second_params.iter())
.map(|x| *x)