Skip to content

Releases: rust-lang/cc-rs

cc-v1.10.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 08:35
8d06fcb

Added

  • Initial libtool support (#1618)

Fixed

  • (parallel) print the child's exit status as debug output (#2055)
  • (target-parsing) wasm32-none-component (#2054)

Other

  • Regenerate target info (#2053)

find-msvc-tools-v0.1.15

Choose a tag to compare

@github-actions github-actions released this 19 Oct 07:39
ffbb10d

Other

  • Regenerate windows sys bindings (#2019)

cc-v1.9.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 07:39
ffbb10d

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_WRAPPER to the cl.exe cc finds itself (#2022)

Other

  • (parallel) poll on jobserver helper thread (#2021)
  • (parallel) add jobserver polling for windows (#2020)
  • Regenerate windows sys bindings (#2019)
  • (parallel) add polling for process exit on windows (#2016)
  • (parallel) poll for process exit on macOS/bsd (#2014)

cc-v1.8.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 14:17
d0454ee

Added

  • add CC_PREFER_CLANG_CL_OVER_MSVC to override prefer_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

  • (parallel) poll for process exit on linux (#2009)
  • document NVCC and other environment variables (#2005)
  • (jobserver) poll for new token (#2004)
  • (parallel) Use poll on unix (#2000)

cc-v1.7.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 01:21
72192d5

Added

  • add Tool::get_envs, deprecate Tool::env and store tool env as Arc<OsStr> pairs (#1985)
  • link c++ when Clang uses libc++ (#1978)
  • add CC_MASM_ASM and fall back to llvm-ml for MASM files (#1975)

Fixed

  • (target parsing) for powerpc64-ibm-aix abi (#1989)
  • ignore ASCII case in program name checks (#1981)

Other

  • (compile) issue compilation cmds more frequently in parallel #1997 #1998
  • (cache) Optimize tool detection caching (#1995)
  • (cache) optimize EnvSnapshot Hash, PartialEq, Ord impl (#1994)
  • Regenerate target info (#1988)

cc-v1.6.0

Choose a tag to compare

@github-actions github-actions released this 03 Oct 02:04
25fa77c

Added

  • add Build::create_archive and emit_link_directives (#1972)
  • read the process environment once per Build, on first use (#1969)
  • add Build::message_logger for structured access to cc's messages (#1967)
  • add CXXSTDLIB_STATIC to 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 compile commands by source file so tests pass with parallel (#1973)
  • add support for armeb-unknown-linux-gnueabi (#1958)

find-msvc-tools-v0.1.14

Choose a tag to compare

@github-actions github-actions released this 25 Sep 10:09
6b0d8e6

Fixed

  • Make windows_sys more private and re-export types needed by cc-rs (#1944)

cc-v1.5.1

Choose a tag to compare

@github-actions github-actions released this 25 Sep 13:33
d279cdd

Fixed

  • link the static C++ stdlib with -bundle, once per Build (#1955)

Other

  • Use lp64d ABI for Redox riscv64 (#1953)

cc-v1.5.0

Choose a tag to compare

@github-actions github-actions released this 25 Sep 10:10
6b0d8e6

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 /link flags with a warning (#1949)
  • Make windows_sys more 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 -Tp immediately before .cc sources on MSVC (not clang-cl) when compiling C++ so they are not treated as object files (#1877)

find-msvc-tools-v0.1.13

Choose a tag to compare

@github-actions github-actions released this 18 Sep 13:26
f1641a6

Other