mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
improve windows support
This commit is contained in:
parent
b6b7d186e4
commit
eafa1d6e5f
@ -239,6 +239,11 @@ mod cli_run {
|
||||
// TODO: `roc` and `roc dev` are currently buggy for `env.roc`
|
||||
continue;
|
||||
}
|
||||
|
||||
if cfg!(windows) {
|
||||
// TODO: `roc dev` does not currently work on windows
|
||||
}
|
||||
|
||||
run_roc_on(file, flags.clone(), stdin, roc_app_args, extra_env)
|
||||
}
|
||||
CliMode::RocRun => run_roc_on(
|
||||
|
@ -111,6 +111,10 @@ comptime {
|
||||
@export(roc_send_signal, .{ .name = "roc_send_signal", .linkage = .Strong });
|
||||
@export(roc_shm_open, .{ .name = "roc_shm_open", .linkage = .Strong });
|
||||
}
|
||||
|
||||
if (builtin.os.tag == .windows) {
|
||||
@export(roc_getppid_windows_stub, .{ .name = "roc_getppid", .linkage = .Strong });
|
||||
}
|
||||
}
|
||||
|
||||
pub export fn main() u8 {
|
||||
|
Loading…
Reference in New Issue
Block a user