Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mojo/mojo_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def _mojo_library_implementation(ctx):
progress_message = "%{label} building mojo package",
env = {
"MODULAR_CRASH_REPORTING_ENABLED": "false",
"PATH": "/dev/null", # Avoid using the host's PATH
"TEST_TMPDIR": ".", # Make sure any cache files are written to somewhere bazel will cleanup
},
use_default_shell_env = True,
Expand Down
1 change: 1 addition & 0 deletions mojo/private/mojo_binary_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def _mojo_binary_test_implementation(ctx, *, shared_library = False):
"MODULAR_MOJO_MAX_COMPILERRT_PATH": "/dev/null", # Make sure this fails if accessed
"MODULAR_MOJO_MAX_LINKER_DRIVER": "/dev/null", # Make sure this fails if accessed
"MODULAR_MOJO_MAX_LLD_PATH": mojo_toolchain.lld.path,
"PATH": "/dev/null", # Avoid using the host's PATH
"TEST_TMPDIR": ".",
},
use_default_shell_env = True,
Expand Down