Repository navigation
Releases: rust-lang/cc-rs
Releases · rust-lang/cc-rs
Release list
cc-v1.10.0
find-msvc-tools-v0.1.15
Other
- Regenerate windows sys bindings (#2019)
cc-v1.9.0
Added
- pass AddressSanitizer on to the C compiler (#2045)
- add source root for stable external object names (#2034)
- emit rerun-if-env-changed for the compiler's own env vars (#2035)
- (env) read Cargo's variables from the env snapshot (#2028)
- collect compile commands into a
compile_commands.json(#1990)
Fixed
- don't prefer clang for -Clinker-plugin-lto=no (#2046)
- keep the order of flag and flag_if_supported (#2044)
- correct "arbitary" typo in target parser comment (#2039)
- correct "stablised" typos in TODO comments (#2040)
- (msvc) pass objects to the archiver relative to the output directory (#2033)
- honor disabled linker-plugin LTO (#2024)
- apply
RUSTC_WRAPPERto thecl.execc finds itself (#2022)
Other
cc-v1.8.0
Added
- add
CC_PREFER_CLANG_CL_OVER_MSVCto overrideprefer_clang_cl_over_msvc(#2001)
Fixed
- (panic) fix panic in code and replace with error when appropriate (#2008)
- (env) do not panic if WASM_MUSL_SYSROOT not set (#2007)
- (jobserver) help thread gets more token than necessary (#2006)
- stop forwarding -Cprofile-generate/-Cprofile-use to the C compiler (#2003)
- do not apply target crt-static when target is overridden (#1999)
Other
cc-v1.7.0
cc-v1.6.0
Added
- add
Build::create_archiveandemit_link_directives(#1972) - read the process environment once per
Build, on first use (#1969) - add
Build::message_loggerfor structured access to cc's messages (#1967) - add
CXXSTDLIB_STATICto link the C++ stdlib statically from outside (#1957)
Fixed
- key the flag support cache on target, host, language and environment (#1965)
- forward each line of compiler stderr once and whole with
parallel(#1959)
Other
find-msvc-tools-v0.1.14
Fixed
- Make
windows_sysmore private and re-export types needed by cc-rs (#1944)
cc-v1.5.1
cc-v1.5.0
Added
- inherit x86 target features from RUSTFLAGS (#1948)
Fixed
- don't report the file name cl.exe echoes as a warning in expand() (#1950)
- ignore MSVC
/linkflags with a warning (#1949) - Make
windows_sysmore private and re-export types needed by cc-rs (#1944) - pass -Tp on MSVC for .cc so they are not treated as objects (#1930)
Other
- document macOS SDKROOT and Xcode CLT for testing (#1943)
- remove License section from CONTRIBUTING.md (#1942)
- add CONTRIBUTING.md and Conventional Commit PR title check (#1938)
Fixed
- Pass
-Tpimmediately before.ccsources on MSVC (not clang-cl) when compiling C++ so they are not treated as object files (#1877)