mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-10 19:19:19 +00:00
Fix warnings in roc_load on Windows
This commit is contained in:
parent
71e78f77a2
commit
10e88a002d
1 changed files with 6 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
use std::path::{Path, PathBuf};
|
||||
|
||||
#[cfg(not(windows))]
|
||||
use bumpalo::Bump;
|
||||
use roc_module::symbol::ModuleId;
|
||||
|
||||
|
|
@ -50,7 +51,11 @@ fn write_subs_for_module(module_id: ModuleId, filename: &str) {
|
|||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
write_subs_for_module_dummy(&output_path)
|
||||
{
|
||||
let _ = SKIP_SUBS_CACHE;
|
||||
let _ = module_id;
|
||||
write_subs_for_module_dummy(&output_path)
|
||||
}
|
||||
}
|
||||
|
||||
fn write_subs_for_module_dummy(output_path: &Path) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue