Releases: rust-lang/cc-rs
1.0.91
What's Changed
- Update windows-bindgen requirement from 0.54 to 0.55 by @dependabot in #999
- Fix: Accept non utf-8 characters in compiler and archiver by @NobodyXu in #998
- CI: Add automatic publish on tag creation by @NobodyXu in #978
- feat: Query rustc for clang target triples instead of hardcoding them by @NobodyXu in #1004
- Fix safety comment for LibraryHandle::get_proc_address by @NobodyXu in #1010
- Fix compile family detection: Use C macros instead of
$compiler -v
by @NobodyXu in #1000 - refactor: Optimize code based on cargo clippy suggestions by @InventiveCoder in #1013
- Fix regression in compiler family detection by @russelltg in #1014
- Also shim llvm-ar in the clang_android test on non-Windows by @dpaoliello in #1016
- Fix caching of supported compiler flag by @NobodyXu in #1002
- fix llvm-ar as archiver for msvc targets; fix clang-cl detection; fix assembler output flag detection; add clang/clang-cl windows CI by @russelltg in #1015
- fix(env_tool): return None if env is empty by @cathaysia in #1021
- Release cc 1.0.91 by @NobodyXu in #1024
New Contributors
- @InventiveCoder made their first contribution in #1013
- @russelltg made their first contribution in #1014
- @cathaysia made their first contribution in #1021
Full Changelog: 1.0.90...1.0.91
1.0.90
What's Changed
- Revert "refactor target flags" by @NobodyXu in #992
- Fix regression: remove
--target
when targeting Android on non-Windows platforms by @dpaoliello in #991 - Drop support for Visual Studio 11 (2012) by @dpaoliello in #981
- Fix the clang targets for RISC-V Rust targets by @djkoloski in #993
- Release cc 1.0.90 by @NobodyXu in #996
New Contributors
- @djkoloski made their first contribution in #993
Full Changelog: 1.0.89...1.0.90
1.0.89
What's Changed
- refactor target flags by @youknowone in #873
- Update windows-bindgen requirement from 0.53 to 0.54 by @dependabot in #982
- Support finding Windows tools on non-Windows host by @cavivie in #907
- Use llvm-ar, llvm-ranlib for Android NDK by @mariotaku in #983
- Add a public file iterator by @gzz2000 in #987
- Fix make resource failure when cc parallel is enabled by @NobodyXu in #985
- Release cc 1.0.89 by @NobodyXu in #988
New Contributors
- @cavivie made their first contribution in #907
- @mariotaku made their first contribution in #983
- @gzz2000 made their first contribution in #987
Full Changelog: 1.0.88...1.0.89
1.0.88
What's Changed
- Add
/System/iOSSupport
to header/library search paths on Mac Catalyst by @madsmtm in #961 - Fix set_blocking by @NobodyXu in #975
- feat: move debug logging behind a debug flag that is disabled by default by @amaanq in #972
- Release cc 1.0.88 by @NobodyXu in #977
New Contributors
Full Changelog: 1.0.87...1.0.88
1.0.87
What's Changed
- fix: remove unnecessary
println
s by @amaanq in #960 - Support native ARM64 MSVC toolchain, and fallback to x64 if emulation is available by @dpaoliello in #957
- add armv8r-none-eabihf by @chrisnc in #836
- Fix use of cc with make <4.3: Clear O_NONBLOCK after compilaton by @NobodyXu in #966
- Release cc 1.0.87 by @NobodyXu in #967
New Contributors
Full Changelog: 1.0.86...1.0.87
1.0.86
What's Changed
- CI: Run test on aarch64-apple-darwin by @NobodyXu in #947
- Fix jobserver: Last
--jobserver-auth
wins by @NobodyXu in #949 - Fix setting O_NONBLOCK in parallel::stderr::set_non_blocking by @NobodyXu in #946
- Cache compiler versions detected by @NobodyXu in #932
- Release cc 1.0.86 by @NobodyXu in #952
- Fix CI (Test) nightly by @NobodyXu in #956
- Added tvos-sim support by @ErikEverson in #951
New Contributors
- @ErikEverson made their first contribution in #951
Full Changelog: 1.0.85...1.0.86
1.0.85
Important
This release has been yanked, due to panicking in freeBSD debug build. A release without these issues will be made in the near future.
Sorry, and thanks.
What's Changed
- fix: fix the usage of include directories for the Rust analyzer by @aminya in #854
- Fix Apple deployment version floor when linking C++ by @BlackHoleFox in #901
- Fix unconditional cargo metadata printing on flag support check by @ahlinc in #908
- Some clippy fixes by @waywardmonkeys in #879
- Add
--
for files intry_expand
(like in #514) by @pashokitsme in #911 - Link against libc++ on *-linux-ohos by @DianQK in #915
- Add support for ARM64EC when building with MSVC by @dpaoliello in #910
- Add new compile_intermediates function. by @roblabla in #914
- Add
cargo_warnings
config to control the use of the cargo warning instruction by @scootermon in #917 - Use RUSTC_WRAPPER if no other wrapper is provided by @LeonMatthesKDAB in #918
- move async_executor and job_token modules into new parallel module by @Be-ing in #923
- do not publish cc-test crate by @Be-ing in #926
- move src/os_pipe.rs to src/os_pipe/mod.rs by @Be-ing in #925
- add comment why tvOS CI job is separate from the matrix by @Be-ing in #928
- move retain_unordered_mut function into parallel module by @Be-ing in #930
- move cc-test & gen-windows-sys-binding into workspace by @Be-ing in #927
- fix broken intradoc links by @Be-ing in #922
- split miscellaneous code into a new command_helpers module by @Be-ing in #931
- split Tool and ToolFamily to a new tool module by @Be-ing in #929
- do not publish tests or gcc-shim with crate by @Be-ing in #934
- use full import path in tool module by @Be-ing in #933
- move Windows code into a module by @Be-ing in #924
- add comment explaining gcc-shim. by @Be-ing in #935
- Add support for riscv32imac-esp-espidf by @madmo in #939
- Forward lines from stderr of child process to stdout on the same thread, instead of spawning a thread by @dpaoliello in #940
- Fix typos. by @waywardmonkeys in #942
- Fix default deployment target behavior for Apple targets by @BlackHoleFox in #943
- move documentation from README.md to lib.rs by @Be-ing in #921
- Release cc 1.0.85 by @NobodyXu in #944
New Contributors
- @aminya made their first contribution in #854
- @ahlinc made their first contribution in #908
- @pashokitsme made their first contribution in #911
- @DianQK made their first contribution in #915
- @dpaoliello made their first contribution in #910
- @scootermon made their first contribution in #917
- @LeonMatthesKDAB made their first contribution in #918
- @Be-ing made their first contribution in #923
- @madmo made their first contribution in #939
Full Changelog: 1.0.84...1.0.85
1.0.84
Important
This release has been yanked, due to the Apple deployment target changes causing unintentional widespread breakage for building C++ code on the target (for projects without an explicit deployment target set). A release without these issues will be made in the near future.
Sorry, and thanks.
Changes
This isn't a complete list, but I've tried to cover everything that is either significant, or could cause problems for people using cc
in configurations not covered by our tests.
- The MSRV has been updated to 1.53.0 (#894)
- A completely overhauled implementation of the jobserver protocol (used under
feature = parallel
), which should be more efficient. (#889). - Better handling of assemblers on windows targets, especially
armasm[64].exe
(#867, #868, #869, #857) - A few fixes for incorrect results from
is_flag_supported
(#839, #886) - Support for the
*-apple-tvos
and*-apple-tvos-sim
targets (#881, #704) - Improved handling of the deployment target on Apple targets, including use of
rustc --print deployment-target
when available (#848, #872) - We no longer bundle bitcode when compiling for Apple targets, as they've deprecated it (#812)
- A new
remove_flag
function to remove flags which have been added withadd_flag
(#885) - Changes to how clang and gcc are distinguished, and how
-m32
/-mx32
/-m64
flags are passed (#709) - Minor adjustments to how
-isysroot
is passed on Apple targets (#703) and how MSVC version is detected on Windows (#696).
As always, please file bugs if you hit issues. cc
is used in many more ways than we can possibly test (especially when cross-compiling or using tier-3 platforms).
Thanks.
New Contributors
- @BlackHoleFox made their first contribution in #848
- @youknowone made their first contribution in #704
- @Arc-blroth made their first contribution in #705
- @osiewicz made their first contribution in #878
- @RubixDev made their first contribution in #839
- @lcruz99 made their first contribution in #881
- @raisfeld-ori made their first contribution in #885
Full Changelog: 1.0.83...1.0.84
1.0.83
What's Changed
- Add method for specifying C/C++ standard version by @hikari-no-yume in #761
- Stop using feature "libc/std" by @kadiwa4 in #860
New Contributors
- @hikari-no-yume made their first contribution in #761
- @kadiwa4 made their first contribution in #860
Full Changelog: 1.0.82...1.0.83