mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
Update Emscripten's no_default_libraries handling
This commit is contained in:
parent
72fd41a8b4
commit
8e09f42042
@ -1140,7 +1140,7 @@ impl<'a> Linker for EmLinker<'a> {
|
||||
fn no_crt_objects(&mut self) {}
|
||||
|
||||
fn no_default_libraries(&mut self) {
|
||||
self.cmd.args(&["-s", "DEFAULT_LIBRARY_FUNCS_TO_INCLUDE=[]"]);
|
||||
self.cmd.arg("-nodefaultlibs");
|
||||
}
|
||||
|
||||
fn export_symbols(&mut self, _tmpdir: &Path, _crate_type: CrateType, symbols: &[String]) {
|
||||
|
Loading…
Reference in New Issue
Block a user