tvl-depot/tvix/eval/src/compiler
Vincent Ambo 5095e4f269 feat(tvix/eval): add generator "name" to NativeError kind
This produces traces in which we can see what kind of native code was
run. Note that these "names" are named after the generator message, so
these aren't *really* intended for end-user consumption, but we can
give them saner names later.

Example:
https://gist.github.com/tazjin/82b24e92ace8e821008954867ee05057

This already makes the traces a little easier to parse.

Change-Id: Idcd601baf84f492211b732ea0f04b377112e10d0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8268
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
2023-03-17 19:31:37 +00:00
..
bindings.rs chore(tvix/eval): remove From<SmolStr> for NixString instance 2023-03-13 20:30:59 +00:00
import.rs fix(tvix/eval): emit warnings from builtins.import again 2023-03-13 20:30:59 +00:00
mod.rs feat(tvix/eval): add generator "name" to NativeError kind 2023-03-17 19:31:37 +00:00
optimiser.rs refactor(tvix/eval): remove redundant clone 2023-02-16 22:42:14 +00:00
scope.rs refactor(tvix/eval): administer antidote for poison 2023-01-21 10:19:15 +00:00