Rustup to rustc 1.31.0-nightly (155510e37
2018-10-20) and fix test
This commit is contained in:
parent
a139f73f77
commit
397c6843d0
2 changed files with 2 additions and 2 deletions
2
build.sh
2
build.sh
|
@ -24,7 +24,7 @@ build_example_bin() {
|
|||
$RUSTC $2 --crate-name $1 --crate-type bin
|
||||
|
||||
pushd target/out
|
||||
gcc libmini_core.rlib $1 -o $1_bin
|
||||
gcc $1 libmini_core.rlib -o $1_bin
|
||||
sh -c ./$1_bin || true
|
||||
popd
|
||||
}
|
||||
|
|
|
@ -152,7 +152,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
|
|||
providers.target_features_whitelist = |_tcx, _cnum| Lrc::new(Default::default());
|
||||
providers.is_reachable_non_generic = |_tcx, _defid| true;
|
||||
providers.exported_symbols = |_tcx, _crate| Arc::new(Vec::new());
|
||||
providers.upstream_monomorphizations = |_tcx, _cnum| Lrc::new(FxHashMap());
|
||||
providers.upstream_monomorphizations = |_tcx, _cnum| Lrc::new(FxHashMap::default());
|
||||
providers.upstream_monomorphizations_for = |tcx, def_id| {
|
||||
debug_assert!(!def_id.is_local());
|
||||
tcx.upstream_monomorphizations(LOCAL_CRATE)
|
||||
|
|
Loading…
Reference in a new issue