mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
cleanup
This commit is contained in:
parent
d224992bc1
commit
853c0387dc
4 changed files with 6 additions and 56 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue