about summary refs log tree commit diff
path: root/tvix/eval/src/value/attrs/tests.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-31T01·27+0300
committertazjin <tazjin@tvl.su>2022-09-07T15·25+0000
commit7d5dca7ba38be487d04b6ba78e1d70530f635fee (patch)
tree6b7326db01c59021f495541492c53353b5d0e790 /tvix/eval/src/value/attrs/tests.rs
parent80713f207e2cd5c490a14a9b00e014c4677b2197 (diff)
chore(tvix/eval): provide 'static references to "name"/"value" r/4701
These static strings show up a bunch when dealing with the internals
of attribute sets, and having them available as static references is
required.

Due to the way const expressions are evaluated, taking a reference to
the existing NixString::NAME / NixString::VALUE items does not work
and the references themselves need to be const-evaluated.

Change-Id: If6e75847af978118a3b266fe6a3242321722434d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6366
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src/value/attrs/tests.rs')
0 files changed, 0 insertions, 0 deletions