1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/runtime/ops
Bartek Iwańczuk 0dec9b4381
fix: op_set_exit_code (#13034)
Fixes "op_set_exit_code" by sharing a single "Arc" between
all workers (via "op state") instead of having a "global" value stored in
"deno_runtime" crate. As a consequence setting an exit code is always
scoped to a tree of workers, instead of being overridable if there are
multiple worker tree (like in "deno test --jobs" subcommand).

Refactored "cli/main.rs" functions to return "Result<i32, AnyError>" instead
of "Result<(), AnyError>" so they can return exit code.
2021-12-11 15:56:45 +01:00
..
web_worker fix(workers): Make importScripts() use the same HTTP client as fetch (#12540) 2021-10-27 15:09:58 +02:00
fs.rs fix(runtime): require full read and write permissions to create symlinks (#12554) 2021-10-29 17:05:55 -04:00
fs_events.rs fix: support "other" event type in FSWatcher (#12836) 2021-11-23 11:30:24 +01:00
http.rs refactor(ext/http): rewrite hyper integration and fix bug (#12732) 2021-11-10 14:51:43 -08:00
io.rs feat(core): streams (#12596) 2021-11-09 19:26:17 +01:00
mod.rs refactor(metrics): move to core (#12386) 2021-10-10 17:20:30 +02:00
os.rs fix: op_set_exit_code (#13034) 2021-12-11 15:56:45 +01:00
permissions.rs chore: upgrade to Rust 1.57.0 (#12968) 2021-12-04 14:19:06 +01:00
process.rs chore: update to Rust edition 2021 (#12578) 2021-11-02 10:03:37 -04:00
runtime.rs refactor: re-export anyhow from deno_core (#12777) 2021-11-16 09:02:28 -05:00
signal.rs feat(core): Add ability to "ref" and "unref" pending ops (#12889) 2021-11-25 19:49:09 +01:00
tty.rs refactor(ops): return BadResource errors in ResourceTable calls (#11710) 2021-08-15 13:29:19 +02:00
utils.rs chore: update copyright headers (#10243) 2021-04-20 14:27:36 +09:00
web_worker.rs fix(runtime/js/workers): throw errors instead of using an op (#12249) 2021-10-01 11:30:55 +02:00
worker_host.rs fix: op_set_exit_code (#13034) 2021-12-11 15:56:45 +01:00