-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change updates the cc crate to version 1.0.37. Import subrepo cc/:cc at cbf6d2f1312b6be22a7a363cf5c2a02acabc531f
- Loading branch information
Showing
17 changed files
with
453 additions
and
287 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "cc" | ||
version = "1.0.28" | ||
version = "1.0.37" | ||
authors = ["Alex Crichton <[email protected]>"] | ||
license = "MIT/Apache-2.0" | ||
repository = "https://github.com/alexcrichton/cc-rs" | ||
|
@@ -13,13 +13,9 @@ code. | |
""" | ||
keywords = ["build-dependencies"] | ||
readme = "README.md" | ||
categories = ["development-tools"] | ||
categories = ["development-tools::build-utils"] | ||
exclude = ["/.travis.yml", "/appveyor.yml"] | ||
|
||
[badges] | ||
travis-ci = { repository = "alexcrichton/cc-rs" } | ||
appveyor = { repository = "alexcrichton/cc-rs" } | ||
|
||
[dependencies] | ||
rayon = { version = "1.0", optional = true } | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
trigger: | ||
- master | ||
|
||
jobs: | ||
- job: min_linux | ||
pool: | ||
vmImage: ubuntu-16.04 | ||
displayName: Minimum Rust (Linux) | ||
variables: | ||
TOOLCHAIN: 1.16.0 | ||
steps: | ||
- template: ci/azure-install-rust.yml | ||
- script: cargo build | ||
|
||
- job: min_Windows | ||
pool: | ||
vmImage: vs2017-win2016 | ||
displayName: Minimum Rust (Windows) | ||
variables: | ||
TOOLCHAIN: 1.16.0 | ||
steps: | ||
- template: ci/azure-install-rust.yml | ||
- script: cargo build | ||
|
||
- job: Linux | ||
pool: | ||
vmImage: ubuntu-16.04 | ||
steps: | ||
- template: ci/azure-steps.yml | ||
strategy: | ||
matrix: | ||
x86_64: | ||
TARGET: x86_64-unknown-linux-gnu | ||
i686: | ||
TARGET: i686-unknown-linux-gnu | ||
x86_64-beta: | ||
TARGET: x86_64-unknown-linux-gnu | ||
TOOLCHAIN: beta | ||
x86_64-nightly: | ||
TARGET: x86_64-unknown-linux-gnu | ||
TOOLCHAIN: nightly | ||
|
||
- job: macOS | ||
pool: | ||
vmImage: macos-10.13 | ||
steps: | ||
- template: ci/azure-steps.yml | ||
strategy: | ||
matrix: | ||
x86_64: | ||
TARGET: x86_64-apple-darwin | ||
aarch64-ios: | ||
TARGET: aarch64-apple-ios | ||
NO_RUN: --no-run | ||
|
||
- job: Windows_vs2019 | ||
pool: | ||
vmImage: windows-2019 | ||
steps: | ||
- template: ci/azure-steps.yml | ||
strategy: | ||
matrix: | ||
x86_64-msvc: | ||
TARGET: x86_64-pc-windows-msvc | ||
|
||
- job: Windows_vs2017 | ||
pool: | ||
vmImage: vs2017-win2016 | ||
steps: | ||
- template: ci/azure-steps.yml | ||
strategy: | ||
matrix: | ||
x86_64-msvc: | ||
TARGET: x86_64-pc-windows-msvc | ||
i686-msvc: | ||
TARGET: i686-pc-windows-msvc | ||
x86_64-gnu: | ||
TARGET: x86_64-pc-windows-gnu | ||
i686-gnu: | ||
TARGET: i686-pc-windows-gnu | ||
|
||
- job: Windows_vs2015 | ||
pool: | ||
vmImage: vs2015-win2012r2 | ||
steps: | ||
- template: ci/azure-steps.yml | ||
strategy: | ||
matrix: | ||
x86_64-msvc: | ||
TARGET: x86_64-pc-windows-msvc | ||
i686-msvc: | ||
TARGET: i686-pc-windows-msvc | ||
|
||
- job: docs | ||
steps: | ||
- template: ci/azure-install-rust.yml | ||
- script: cargo doc --no-deps --all-features | ||
- script: curl -LsSf https://git.io/fhJ8n | rustc - && (cd target/doc && ../../rust_out) | ||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) | ||
env: | ||
GITHUB_DEPLOY_KEY: $(GITHUB_DEPLOY_KEY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
steps: | ||
- bash: | | ||
set -e | ||
toolchain=$TOOLCHAIN | ||
if [ "$toolchain" = "" ]; then | ||
toolchain=stable | ||
fi | ||
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $toolchain | ||
echo "##vso[task.prependpath]$HOME/.cargo/bin" | ||
displayName: Install rust (unix) | ||
condition: ne( variables['Agent.OS'], 'Windows_NT' ) | ||
- script: | | ||
IF "%TOOLCHAIN%"=="" (SET TOOLCHAIN=stable-%TARGET%) | ||
curl -sSf -o rustup-init.exe https://win.rustup.rs | ||
rustup-init.exe -y --default-toolchain %TOOLCHAIN% | ||
echo ##vso[task.prependpath]%USERPROFILE%\.cargo\bin | ||
displayName: Install rust (windows) | ||
condition: eq( variables['Agent.OS'], 'Windows_NT' ) | ||
- script: | | ||
rustc -Vv | ||
cargo -V | ||
displayName: Query rust and cargo versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
steps: | ||
- template: azure-install-rust.yml | ||
- bash: rustup target add $TARGET | ||
displayName: Install Rust target | ||
|
||
- bash: sudo apt-get install g++-multilib | ||
condition: eq( variables['Agent.OS'], 'Linux' ) | ||
displayName: Install g++-multilib | ||
|
||
- script: cargo build | ||
displayName: "Normal build" | ||
- bash: cargo test $NO_RUN -- --test-threads 1 | ||
displayName: "Crate tests" | ||
- bash: cargo test $NO_RUN --features parallel -- --test-threads 1 | ||
displayName: "Crate tests (parallel)" | ||
- bash: cargo test $NO_RUN --manifest-path cc-test/Cargo.toml --target $TARGET | ||
displayName: "cc-test tests" | ||
- bash: cargo test $NO_RUN --manifest-path cc-test/Cargo.toml --target $TARGET --features parallel | ||
displayName: "cc-test tests (parallel)" | ||
- bash: cargo test $NO_RUN --manifest-path cc-test/Cargo.toml --target $TARGET --release | ||
displayName: "cc-test tests (release)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.