diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2018-12-01 16:30:42 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-05-23 18:51:50 +0200 |
| commit | 46f251129695f9e768bb444dd20a6cce8f2bfbc9 (patch) | |
| tree | 6484330a21ef6c7a10a799c7af206368dbd0adbe /src/test/run-make-fulldeps/hotplug_codegen_backend | |
| parent | 9b648f7088cc6336a70ce65d86af10930212253c (diff) | |
| download | rust-46f251129695f9e768bb444dd20a6cce8f2bfbc9.tar.gz rust-46f251129695f9e768bb444dd20a6cce8f2bfbc9.zip | |
Update wasm_import_module_map and target_features_whitelist
Diffstat (limited to 'src/test/run-make-fulldeps/hotplug_codegen_backend')
| -rw-r--r-- | src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs b/src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs index 4e43aa96e1d..1bab3f01aba 100644 --- a/src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs +++ b/src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs @@ -47,8 +47,8 @@ impl CodegenBackend for TheBackend { fn provide(&self, providers: &mut Providers) { rustc_codegen_utils::symbol_names::provide(providers); - providers.target_features_whitelist = |_tcx, _cnum| { - Default::default() // Just a dummy + providers.target_features_whitelist = |tcx, _cnum| { + tcx.arena.alloc(Default::default()) // Just a dummy }; providers.is_reachable_non_generic = |_tcx, _defid| true; providers.exported_symbols = |_tcx, _crate| Arc::new(Vec::new()); |
