Skip to content

Commit 397c684

Browse files
committed
Rustup to rustc 1.31.0-nightly (155510e 2018-10-20) and fix test
1 parent a139f73 commit 397c684

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ build_example_bin() {
2424
$RUSTC $2 --crate-name $1 --crate-type bin
2525

2626
pushd target/out
27-
gcc libmini_core.rlib $1 -o $1_bin
27+
gcc $1 libmini_core.rlib -o $1_bin
2828
sh -c ./$1_bin || true
2929
popd
3030
}

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
152152
providers.target_features_whitelist = |_tcx, _cnum| Lrc::new(Default::default());
153153
providers.is_reachable_non_generic = |_tcx, _defid| true;
154154
providers.exported_symbols = |_tcx, _crate| Arc::new(Vec::new());
155-
providers.upstream_monomorphizations = |_tcx, _cnum| Lrc::new(FxHashMap());
155+
providers.upstream_monomorphizations = |_tcx, _cnum| Lrc::new(FxHashMap::default());
156156
providers.upstream_monomorphizations_for = |tcx, def_id| {
157157
debug_assert!(!def_id.is_local());
158158
tcx.upstream_monomorphizations(LOCAL_CRATE)

0 commit comments

Comments
 (0)