mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-17 02:53:30 +00:00
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig
This commit is contained in:
commit
99e2bc2038
253 changed files with 7403 additions and 4217 deletions
|
|
@ -93,6 +93,11 @@ pub extern "C" fn rust_main() -> i32 {
|
|||
panic!("Writing to stdout failed! {:?}", e);
|
||||
}
|
||||
|
||||
// roc_str will not print without flushing if it does not contain a newline and you're using --linker=legacy
|
||||
if let Err(e) = std::io::stdout().flush() {
|
||||
panic!("Failed to flush stdout: {:?}", e);
|
||||
}
|
||||
|
||||
// Exit code
|
||||
0
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue