about summary refs log tree commit diff
path: root/tvix/eval/src/observer.rs
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2022-11-06T00·59-0400
committergrfn <grfn@gws.fyi>2022-11-08T13·42+0000
commit43eb4900e0e61b83d9ed6239002251e0530110ef (patch)
tree3c2202af824b87e727e65da66ac9db826da43a50 /tvix/eval/src/observer.rs
parent645d0c06e541b57cf1b87877856f592c6fbf49ee (diff)
refactor(tvix/eval): Define a single builtin at the top level r/5264
Mostly as a proof-of-concept of the new proc-macros for defining
builtins, define a single builtin (the first in the list, `abort`) at
the top-level of a child module within builtins/mod.rs, and add it to
the list of builtins returned from `pure_builtins`.

If this works nicely, we can start breaking out the rest of the builtins
into the top-level too, in addition to introducing additional sets of
builtins (to differentiate between pure and impure builtins).

Change-Id: I5bdd57c57fecf8d63c9fed4fc6b1460f533b20f2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7199
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/src/observer.rs')
0 files changed, 0 insertions, 0 deletions