tvl-depot/corp/tvixbolt
Vincent Ambo 0e5baae7ad refactor(tvix/eval): clone the Arc<codemap::File> for the compiler
This disconnects ownership of the `File` reference in a compiler from
the calling scope, which is required for when we implement `import`.

`import` will need to carry an `Rc<RefCell<CodeMap>>` (or maybe, in
the future, Arc) to give us the ability to add new detected code
files at runtime.

Note that the choice of `Arc` over `Rc` here is not ours - it's the
codemap crate's.

Change-Id: I3aeca4ffc167acbd1701846a332d93550b56ba7d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6630
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2022-09-18 21:12:50 +00:00
..
src refactor(tvix/eval): clone the Arc<codemap::File> for the compiler 2022-09-18 21:12:50 +00:00
.gitignore feat(corp/tvixbolt): check in initial tvixbolt version 2022-09-04 14:05:38 +00:00
Cargo.lock feat(corp/tvixbolt): persist state in tvixbolt's URL 2022-09-18 16:40:23 +00:00
Cargo.toml feat(corp/tvixbolt): persist state in tvixbolt's URL 2022-09-18 16:40:23 +00:00
default.nix chore(tvix/eval): bump rnix-parser to latest HEAD 2022-09-18 16:24:40 +00:00
index.css feat(corp/tvixbolt): add some additional information on the page 2022-09-04 18:50:06 +00:00
index.html feat(corp/tvixbolt): add an ad in the footer 2022-09-13 12:47:18 +00:00