(zilch lang rust): add CARGO_TARGET_DIR

This commit is contained in:
puck 2025-03-02 14:05:26 +00:00
parent 063550ca00
commit de31b96fc8
2 changed files with 9 additions and 1 deletions

View file

@ -33,7 +33,8 @@
#~(("script" . #$input-script)
("cwd" . #$cwd)
("OUT_DIR" . ,(make-placeholder "outdir"))
("CARGO_TARGET_DIR" . ,(make-placeholder "targetdir"))
. #$env)
'("out" "outdir")))
'("out" "outdir" "targetdir")))
(values (cdr (assoc "outdir" output)) (cdr (assoc "out" output))))))