This commit is contained in:
Folkert 2023-03-05 17:31:27 +01:00
parent d224992bc1
commit 853c0387dc
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 6 additions and 56 deletions

View file

@ -151,13 +151,11 @@ pub fn generate_stub_lib(
}
pub fn generate_stub_lib_from_loaded(target: &Triple, platform_main_roc: &Path) -> PathBuf {
let stub_lib = if let target_lexicon::OperatingSystem::Windows = target.operating_system {
if let target_lexicon::OperatingSystem::Windows = target.operating_system {
platform_main_roc.with_file_name("libapp.dll")
} else {
platform_main_roc.with_file_name("libapp.so")
};
stub_lib
}
}
pub struct ExposedSymbols {