tvl-depot/tvix/glue
binarycat beb7f57c73 fix(tvix/eval): handle builtins.split matching the empty string
This prevents the following statements from looping endlessly:

```
builtins.split "(.*)" ""
builtins.split "([abc]*)" "abc"
builtins.split "(.*)" "abc"
builtins.split ".*" ""
```

Cover these (and some more examples) in the test suite.

Co-Authored-By: Florian Klink <flokli@flokli.de>
Change-Id: Ibd339f971e0f4e3e5c229816e2be5a8e3836fec9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11743
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2024-06-11 14:59:02 +00:00
..
benches feat(tvix): Switch to jemalloc 2024-06-06 10:29:33 +00:00
src fix(tvix/eval): handle builtins.split matching the empty string 2024-06-11 14:59:02 +00:00
build.rs fix(tvix): make rstest pick up new test case files 2024-06-05 17:52:17 +00:00
Cargo.toml feat(tvix): Switch to jemalloc 2024-06-06 10:29:33 +00:00
default.nix feat(tvix): add CI targets for checking crate features powerset 2024-06-03 16:35:51 +00:00