mirror of
https://github.com/denoland/deno.git
synced 2024-12-24 08:09:08 -05:00
refactor: Rename runtime/rt to runtime/js (#8806)
This commit is contained in:
parent
55dc467b41
commit
ffb5f7a4e1
42 changed files with 5 additions and 12 deletions
|
@ -40,7 +40,7 @@ fn italic_bold(s: &str, internal: bool) -> String {
|
|||
}
|
||||
}
|
||||
|
||||
// Keep in sync with `cli/rt/40_error_stack.js`.
|
||||
// Keep in sync with `runtime/js/40_error_stack.js`.
|
||||
pub fn format_location(frame: &JsStackFrame) -> String {
|
||||
let internal = frame
|
||||
.file_name
|
||||
|
@ -75,7 +75,7 @@ pub fn format_location(frame: &JsStackFrame) -> String {
|
|||
result
|
||||
}
|
||||
|
||||
// Keep in sync with `cli/rt/40_error_stack.js`.
|
||||
// Keep in sync with `runtime/js/40_error_stack.js`.
|
||||
fn format_frame(frame: &JsStackFrame) -> String {
|
||||
let internal = frame
|
||||
.file_name
|
||||
|
|
|
@ -1,11 +1,4 @@
|
|||
# tsc
|
||||
|
||||
This directory contains the code for the typescript compiler snapshot
|
||||
|
||||
There is currently A LOT of overlap between this code and the runtime snapshot
|
||||
code in cli/rt.
|
||||
|
||||
This is intentionally ugly because there should be no overlap.
|
||||
|
||||
This directory ultimately should contain just typescript.js and a smallish
|
||||
CompilerHost.
|
||||
This directory contains the typescript compiler and a small compiler host for
|
||||
the runtime snapshot.
|
||||
|
|
|
@ -62,7 +62,7 @@ fn main() {
|
|||
// Main snapshot
|
||||
let runtime_snapshot_path = o.join("CLI_SNAPSHOT.bin");
|
||||
|
||||
let js_files = get_js_files("rt");
|
||||
let js_files = get_js_files("js");
|
||||
create_runtime_snapshot(&runtime_snapshot_path, js_files);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue