When compiling with clang-cl, we now use -- to separate flags/options from input files. (#514)
We now fall back to RUSTC_LINKER's prefix (rather than erroring) if we fail to determine the prefix to use for the given target. (#685)
A Build::link_lib_modifier function was added to allow control which library modifiers are used when linking with the generated library. (#671)
When searching for an ar binary to use, we now try {target}-ar in addition to {target}-gcc-ar. If they're both present, {target}-ar will be preferred. (#735, #736)
We now emit cargo:rerun-if-env-changed messages for environment variables that influence the build. This is only done if cargo_metadata is enabled, and can be disabled by passing false to the new Build::emit_rerun_if_env_changed builder function. (#701, #738)
New Targets
The following targets are now supported:
The Apple WatchOS (and simulator) targets (*-watchos and *-watchos-sim). (#662)
The LLVM-based MinGW targets (*-pc-windows-gnullvm). (#734)
The Xous microkernel (riscv32imac-unknown-xous-elf). (#686)
Additionally, a number of smaller changes which shouldn't impact users have been made; see the commit history for complete details.
Thanks to everybody who contributed to this release!
Commits
d053161 Merge pull request #737 from thomcc/bump-version
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps cc from 1.0.73 to 1.0.74.
Release notes
Sourced from cc's releases.
Commits
d053161
Merge pull request #737 from thomcc/bump-version490f3f8
Prepare release 1.0.74f4ce3f6
Avoidrerun-if-env-changed
on vars set by cargo for build scripts019603a
Defaultemit_rerun_if_env_changed
totrue
0b25dbf
Change getenv to only emit metadata once per var765f486
Run cargo fmt962af53
Add option to emitrerun-if-env-changed
metadata3eeb50b
Use specified compiler in is_flag_supported00befe7
Continue to support binutils ar76c821e
Add LLVM based MinGW targetsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)