mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-08 18:02:05 +03:00
Use the Rust toolchain via the DotSlash Windows shim
Reviewed By: mzlee Differential Revision: D22495160 fbshipit-source-id: 3d6240906dd086ccac6668d907074ec7ca86ebce
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e473bebe70
commit
4f443def70
@@ -250,9 +250,9 @@ class BuildOptions(object):
|
||||
# If rustc is present in the `bin` directory, set RUSTC to prevent
|
||||
# cargo uses the rustc installed in the system.
|
||||
if self.is_windows():
|
||||
cargo_path = os.path.join(bindir, "cargo.bat")
|
||||
rustc_path = os.path.join(bindir, "rustc.bat")
|
||||
rustdoc_path = os.path.join(bindir, "rustdoc.bat")
|
||||
cargo_path = os.path.join(bindir, "cargo.exe")
|
||||
rustc_path = os.path.join(bindir, "rustc.exe")
|
||||
rustdoc_path = os.path.join(bindir, "rustdoc.exe")
|
||||
else:
|
||||
cargo_path = os.path.join(bindir, "cargo")
|
||||
rustc_path = os.path.join(bindir, "rustc")
|
||||
|
Reference in New Issue
Block a user