tvl-depot/corp
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
..
tvixbolt refactor(tvix/eval): clone the Arc<codemap::File> for the compiler 2022-09-18 21:12:50 +00:00
website feat(ops/modules): deploy tvixbolt to tvixbolt.tvl.su 2022-09-13 11:05:54 +00:00
LICENSE feat(corp): Bootstrap //corp subtree 2021-09-28 19:57:01 +00:00
OWNERS feat(corp): Bootstrap //corp subtree 2021-09-28 19:57:01 +00:00