projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eee7a19
)
[mono][wasm] Exit with a nonzero exit code on asserts. (#53734)
author
Zoltan Varga
<vargaz@gmail.com>
Fri, 4 Jun 2021 18:47:23 +0000
(14:47 -0400)
committer
GitHub
<noreply@github.com>
Fri, 4 Jun 2021 18:47:23 +0000
(14:47 -0400)
src/mono/wasm/runtime/driver.c
patch
|
blob
|
history
diff --git
a/src/mono/wasm/runtime/driver.c
b/src/mono/wasm/runtime/driver.c
index
7a2e0fc
..
c0ab7bd
100644
(file)
--- a/
src/mono/wasm/runtime/driver.c
+++ b/
src/mono/wasm/runtime/driver.c
@@
-191,6
+191,9
@@
wasm_trace_logger (const char *log_domain, const char *log_level, const char *me
break;
}
}, log_level, message, fatal, log_domain, user_data);
+
+ if (fatal)
+ exit (1);
}
typedef uint32_t target_mword;