diff options
Diffstat (limited to 'build_extra/rust/run.py')
-rw-r--r-- | build_extra/rust/run.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build_extra/rust/run.py b/build_extra/rust/run.py index 276e799cc..0b1fa3dc9 100644 --- a/build_extra/rust/run.py +++ b/build_extra/rust/run.py @@ -5,6 +5,9 @@ import subprocess import sys import os -os.environ["OUT_DIR"] = os.path.abspath(".") -assert os.path.isdir(os.environ["OUT_DIR"]) +# TODO This is for src/msg.rs to know where to find msg_generated.rs +# In the future we should use OUT_DIR here. +os.environ["DENO_BUILD_PATH"] = os.path.abspath(".") +assert os.path.isdir(os.environ["DENO_BUILD_PATH"]) + sys.exit(subprocess.call(sys.argv[1:], env=os.environ)) |