refactor: add 'deno_os' crate (#27655)

This commit creates "deno_os" extension crate and moves
numerous ops from "runtime/" crate to the new crate.
This commit is contained in:
Bartek Iwańczuk 2025-01-14 16:29:36 +00:00
parent a49c1d1c4e
commit e763b374ef
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750
29 changed files with 145 additions and 80 deletions

View file

@ -26,7 +26,7 @@ const {
TypeError,
} = primordials;
import { setExitHandler } from "ext:runtime/30_os.js";
import { setExitHandler } from "ext:deno_os/30_os.js";
// Capture `Deno` global so that users deleting or mangling it, won't
// have impact on our sanitizers.