tvl-depot/tvix/eval/src
Vincent Ambo 3aca3d3bba refactor(tvix): build Rust projects using crate2nix
Introduces granular dependency builds using crate2nix, bootstrapped
off the generated configuration from the newly introduced
workspace (see cl/7533).

This commit checks in the generated Cargo.nix file which can be
regenerated with a parameterless invocation of `crate2nix generate` in
`//tvix`. I tried generating this in IFD, but it turned out to be
harder than what seemed worthwhile for now.

In this setup, the various build targets for Rust projects end up
being attributes of the imported `Cargo.nix` file at the `tvix.crates`
attribute. These still lack configuration, however, which has been
fixed in the various `default.nix` files of individual projects.

Note that we (temporarily) lose the ability to build tvix-eval's
benchmarks in CI. I haven't figured out what magic incantation summons
them from the void again ...

The `eval-okay-readDir` tests from both test suites have been disabled
because they fail for unknown reasons when run in this new derivation.
Somebody will have to debug it!

Change-Id: I2014614ccb9c8951aedbd71df7966ca191a13695
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7538
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2022-12-15 17:26:45 +00:00
..
builtins feat(tvix/eval): Continue removing leakage of BTreeMap. 2022-12-03 13:26:51 +00:00
compiler fix(tvix/eval): Scope.inherit(): fix scope_depth, with_stack_depth 2022-11-05 22:03:41 +00:00
tests refactor(tvix): build Rust projects using crate2nix 2022-12-15 17:26:45 +00:00
value feat(tvix/eval): Continue removing leakage of BTreeMap. 2022-12-03 13:26:51 +00:00
chunk.rs fix(tvix/eval): remove impl PartialEq for Value 2022-11-04 00:30:13 +00:00
errors.rs feat(tvix/eval): add CoercionKind::ThunksOnly 2022-11-28 20:05:33 +00:00
eval.rs feat(tvix/eval): add --raw flag to eval, like cppnix 2022-11-26 21:20:02 +00:00
lib.rs feat(tvix/eval): Give names to builtin arguments 2022-11-08 13:42:37 +00:00
main.rs feat(tvix/eval): add --raw flag to eval, like cppnix 2022-11-26 21:20:02 +00:00
nix_search_path.rs fix(tvix): distinguish search- and relative path resolution errors 2022-10-21 00:11:29 +00:00
observer.rs feat(tvix/eval): initial attempt at setting lambda names 2022-10-23 15:58:53 +00:00
opcode.rs fix(tvix/eval): change ordinary (//) to rustdoc-comments (///) 2022-11-05 22:07:42 +00:00
pretty_ast.rs fix(tvix/eval): more faithfully serialise ast::Literal 2022-10-16 23:35:59 +00:00
properties.rs refactor(tvix/eval): Don't (ab)use PartialEq for Nix equality 2022-09-18 22:03:41 +00:00
source.rs feat(tvix/eval): fancy-format parse errors returned by rnix 2022-10-08 17:27:57 +00:00
spans.rs refactor(tvix/eval): implement ToSpan directly for rnix::TextRange 2022-10-08 10:58:42 +00:00
systems.rs fix(tvix/eval): correct wasm32-unknown-unknown to wasm32-none 2022-10-27 23:23:22 +00:00
test_utils.rs test(tvix/eval): Add proof-of-concept test for Chunk 2022-09-18 17:55:06 +00:00
upvalues.rs fix(tvix/eval): remove impl PartialEq for Value 2022-11-04 00:30:13 +00:00
vm.rs feat(tvix/eval): inline(always) tail_call_value 2022-12-02 13:36:12 +00:00
warnings.rs refactor(tvix/eval): introduce source::SourceCode type 2022-10-05 10:29:47 +00:00