crown: Add a cargo config.toml file (#31090)

This makes it more foolproof to install crown from inside the Servo
directory, because the root Servo config.toml overrides the rustc to use
crown (an obvious circular dependency).
This commit is contained in:
Martin Robinson 2024-01-15 12:18:48 +01:00 committed by GitHub
parent 97284ead14
commit 3c1ab65458
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 10 deletions

View file

@ -71,10 +71,6 @@ jobs:
choco install wixtoolset
echo "C:\\Program Files (x86)\\WiX Toolset v3.11\\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Bootstrap
env:
# We need to override the rustc set in cargo/config.toml, because at
# this point crown is not installed yet.
RUSTC: "rustc"
run: |
python -m pip install --upgrade pip
python mach fetch