aboutsummaryrefslogtreecommitdiff
path: root/projects/firefox
diff options
context:
space:
mode:
authorAbhishek Arya <inferno@chromium.org>2020-05-24 00:49:20 -0700
committerGitHub <noreply@github.com>2020-05-24 00:49:20 -0700
commit070209125925e71bb296ec7331a1b2f72c5bd57e (patch)
treec8051cf198d417b6612c48d9f9959b8d77981947 /projects/firefox
parentd096f611fe3c404b24586061515cf19a6cbbd9e6 (diff)
downloadoss-fuzz-070209125925e71bb296ec7331a1b2f72c5bd57e.tar.gz
Use available rust nightly in firefox
Diffstat (limited to 'projects/firefox')
-rwxr-xr-xprojects/firefox/build.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/projects/firefox/build.sh b/projects/firefox/build.sh
index b001a429a..1299c04fe 100755
--- a/projects/firefox/build.sh
+++ b/projects/firefox/build.sh
@@ -41,13 +41,9 @@ FUZZ_TARGETS=(
export MOZ_OBJDIR=$WORK/obj-fuzz
export MOZCONFIG=$SRC/mozconfig.$SANITIZER
-# Install dependencies. Note that bootstrap installs cargo, which must be added
-# to PATH via source. In a successive run (for a different sanitizer), the
-# cargo installation carries over, but bootstrap fails if cargo is not in PATH.
+# Install dependencies.
export SHELL=/bin/bash
-[[ -f "$HOME/.cargo/env" ]] && source $HOME/.cargo/env
./mach bootstrap --no-interactive --application-choice browser
-source $HOME/.cargo/env
# Update internal libFuzzer.
(cd tools/fuzzing/libfuzzer && ./clone_libfuzzer.sh HEAD)