about summary refs log tree commit diff
path: root/tvix/eval/src/warnings.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-01-05T12·25+0300
committertazjin <tazjin@tvl.su>2023-01-06T12·23+0000
commite8dcdceb34585dfe82d826978f0f1cd8a673b474 (patch)
tree2a244d378915c0253a4daa52f71b7394c5a40aec /tvix/eval/src/warnings.rs
parent6a8541e35a76b1d0d100c505d395d0e0418377c7 (diff)
fix(tvix/eval): compile but don't emit dead code r/5603
This adds a mechanism to the compiler to compile an expression without
emitting any code. This allows for detected dead code to still be
compiled to detect errors & warnings inside of it.

Change-Id: Ie78479173570e9c819d8f32ae683ce34234a4c5d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7767
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/warnings.rs')
0 files changed, 0 insertions, 0 deletions