File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ build_example_bin() {
24
24
$RUSTC $2 --crate-name $1 --crate-type bin
25
25
26
26
pushd target/out
27
- gcc libmini_core.rlib $1 -o $1 _bin
27
+ gcc $1 libmini_core.rlib -o $1 _bin
28
28
sh -c ./$1 _bin || true
29
29
popd
30
30
}
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
152
152
providers. target_features_whitelist = |_tcx, _cnum| Lrc :: new ( Default :: default ( ) ) ;
153
153
providers. is_reachable_non_generic = |_tcx, _defid| true ;
154
154
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 ( ) ) ;
156
156
providers. upstream_monomorphizations_for = |tcx, def_id| {
157
157
debug_assert ! ( !def_id. is_local( ) ) ;
158
158
tcx. upstream_monomorphizations ( LOCAL_CRATE )
You can’t perform that action at this time.
0 commit comments