diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-12-17 16:37:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-17 17:37:57 +0100 |
commit | ffb5f7a4e1d5d4ac488058ca3ec3c0805587fe44 (patch) | |
tree | dc7b79a699732680fa309d97e5b4c2bc5f486a4a /cli | |
parent | 55dc467b419b8e5897b1c832b04d63e383253d84 (diff) |
refactor: Rename runtime/rt to runtime/js (#8806)
Diffstat (limited to 'cli')
-rw-r--r-- | cli/fmt_errors.rs | 4 | ||||
-rw-r--r-- | cli/tsc/README.md | 11 |
2 files changed, 4 insertions, 11 deletions
diff --git a/cli/fmt_errors.rs b/cli/fmt_errors.rs index b3c855db9..3e871e6f3 100644 --- a/cli/fmt_errors.rs +++ b/cli/fmt_errors.rs @@ -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 diff --git a/cli/tsc/README.md b/cli/tsc/README.md index e68013885..e8287f3c0 100644 --- a/cli/tsc/README.md +++ b/cli/tsc/README.md @@ -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. |