Update Emscripten's no_default_libraries handling

This commit is contained in:
Hood Chatham 2022-06-21 13:19:44 -07:00
parent 72fd41a8b4
commit 8e09f42042

View File

@ -1140,7 +1140,7 @@ fn debuginfo(&mut self, _strip: Strip, _: &[PathBuf]) {
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]) {