Skip to content

Regenerate windows-sys binding - #1422

Merged
NobodyXu merged 4 commits into
mainfrom
fix/windows-bindgen
Feb 27, 2025
Merged

NobodyXu merged 4 commits into
mainfrom
fix/windows-bindgen

Conversation

@NobodyXu

Copy link
Copy Markdown
Contributor

It now uses windows_link instead of windows_target

@NobodyXu NobodyXu changed the title Fix gen-windows-sys-bindgen Regenerate windows-sys binding Feb 27, 2025
@NobodyXu
NobodyXu enabled auto-merge (squash) February 27, 2025 10:03
@NobodyXu
NobodyXu merged commit 8ea5e95 into main Feb 27, 2025
@NobodyXu
NobodyXu deleted the fix/windows-bindgen branch February 27, 2025 10:05
@github-actions github-actions Bot mentioned this pull request Feb 28, 2025
github-merge-queue Bot pushed a commit to rust-lang/cargo that referenced this pull request Feb 28, 2025
…15245)

### What does this PR try to resolve?

GitHub Runner Images 20250224.5.0+ ship Windows 11 SDK 10.0.26100+
compared to the previous Windows 11 SDK 10.0.22621, which bumped the
UCRT headers. The new UCRT headers use SSE2 types. However, `cc`
versions <= 1.2.15 emit `/arch:IA32` for `x86` Windows targets for
`clang-cl`, which causes compilation errors since `clang-cl` can't find
SSE2 types without `/arch:SSE2` specified (or defaulted). (Note that
MSVC at the time of writing silently accepts and emits instruments for
code using SSE2 types, as opposed to `clang-cl` hard error-ing).

`cc` 1.2.16 contains a fix for this problem,
rust-lang/cc-rs#1425, to correctly emit
`/arch:SSE2` instead of `/arch:IA32` to enable `clang-cl` to find the
SSE2 types. However, cargo's `cc` currently is still on 1.2.13.

To fix this for rust-lang/rust CI, we need to bump anything that
transitively relies on `cc` and tries to use `clang-cl` on `x86` Windows
targets to compile any C/C++ code that transitively use functions or
types that require SSE2 types, such as `<wchar.h>`.

### How should we test and review this PR?

The fix was initially intended for `rustc_{codegen_ssa,llvm}` `cc`, and
based on testing in rust-lang/rust#137724, I was
able to successfully build `rustc_{codegen_ssa,llvm}` with a forked `cc`
based on 1.2.15 which contains the fix from
rust-lang/cc-rs#1425. Note that in the same PR,
while the compiler build succeeded, the build of cargo itself failed
since it transitively used a `cc` *without* the fix to build
`curl-sys`[^dep-chain], which failed as one might expect (`curl-sys`
tries to build C code that uses `<wchar.h>` which runs into the same
problem). Hence, this PR is opened to bump cargo's `cc` to a `cc`
version containing the fix.

### Additional information

This `x86` Windows CI problem is:

- Discussed in
https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/spurious.20.28.3F.29.20i686.20msvc.20errors.
- Tracked by rust-lang/rust#137733.

#### `cc` changelog between 1.2.13 and 1.2.16

<details>
<summary>`cc` changes since 1.2.13 up to and including 1.2.16</summary>

#####
[1.2.16](rust-lang/cc-rs@cc-v1.2.15...cc-v1.2.16)
- 2025-02-28

###### Fixed

- force windows compiler to run in `out_dir` to prevent artifacts in cwd
(#1415)

###### Other

- use `/arch:SSE2` for `x86` target arch (#1425)
- Regenerate windows-sys binding
([#1422](rust-lang/cc-rs#1422))
- Regenerate target info
([#1418](rust-lang/cc-rs#1418))
- Add LIB var when compiling flag_check (#1417)
- Change flag ordering
([#1403](rust-lang/cc-rs#1403))
- Fix archiver detection for musl cross compilation
([#1404](rust-lang/cc-rs#1404))

#####
[1.2.15](rust-lang/cc-rs@cc-v1.2.14...cc-v1.2.15)
- 2025-02-21

###### Other

- Regenerate target info
([#1406](rust-lang/cc-rs#1406))
- Always read from all `CFLAGS`-style flags
([#1401](rust-lang/cc-rs#1401))
- Simplify the error output on failed `Command` invocation
([#1397](rust-lang/cc-rs#1397))

#####
[1.2.14](rust-lang/cc-rs@cc-v1.2.13...cc-v1.2.14)
- 2025-02-14

###### Other

- Regenerate target info
([#1398](rust-lang/cc-rs#1398))
- Add support for setting `-gdwarf-{version}` based on RUSTFLAGS
([#1395](rust-lang/cc-rs#1395))
- Add support for alternative network stack io-sock on QNX 7.1 aarch64
and x86_64 ([#1312](rust-lang/cc-rs#1312))

</details>

[^dep-chain]: I think the dep chain is something like git2 ->
libgit2-sys -> curl -> curl-sys?
jieyouxu added a commit to jieyouxu/rust that referenced this pull request Feb 28, 2025
…obzol

Bump `rustc_{codegen_ssa,llvm}` `cc` to 1.2.16 to fix `x86` Windows jobs on newest Windows SDK

Part of rust-lang#137733.

Bump `rustc_{codegen_ssa,llvm}` `cc` to 1.2.16 which contains rust-lang/cc-rs#1425 to help with rust-lang#137733. Previously tested in rust-lang#137724.

#### `cc` changelog between 1.2.13 and 1.2.16

<details>
<summary>`cc` changes since 1.2.13 up to and including 1.2.16</summary>

##### [1.2.16](rust-lang/cc-rs@cc-v1.2.15...cc-v1.2.16) - 2025-02-28

###### Fixed

- force windows compiler to run in `out_dir` to prevent artifacts in cwd (rust-lang#1415)

###### Other

- use `/arch:SSE2` for `x86` target arch (rust-lang#1425)
- Regenerate windows-sys binding ([rust-lang#1422](rust-lang/cc-rs#1422))
- Regenerate target info ([rust-lang#1418](rust-lang/cc-rs#1418))
- Add LIB var when compiling flag_check (rust-lang#1417)
- Change flag ordering ([rust-lang#1403](rust-lang/cc-rs#1403))
- Fix archiver detection for musl cross compilation ([rust-lang#1404](rust-lang/cc-rs#1404))

##### [1.2.15](rust-lang/cc-rs@cc-v1.2.14...cc-v1.2.15) - 2025-02-21

###### Other

- Regenerate target info ([rust-lang#1406](rust-lang/cc-rs#1406))
- Always read from all `CFLAGS`-style flags ([rust-lang#1401](rust-lang/cc-rs#1401))
- Simplify the error output on failed `Command` invocation ([rust-lang#1397](rust-lang/cc-rs#1397))

##### [1.2.14](rust-lang/cc-rs@cc-v1.2.13...cc-v1.2.14) - 2025-02-14

###### Other

- Regenerate target info ([rust-lang#1398](rust-lang/cc-rs#1398))
- Add support for setting `-gdwarf-{version}` based on RUSTFLAGS ([rust-lang#1395](rust-lang/cc-rs#1395))
- Add support for alternative network stack io-sock on QNX 7.1 aarch64 and x86_64 ([rust-lang#1312](rust-lang/cc-rs#1312))

</details>

r? `@Kobzol`
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Feb 28, 2025
Rollup merge of rust-lang#137788 - jieyouxu:bump-compiler-cc, r=lqd,Kobzol

Bump `rustc_{codegen_ssa,llvm}` `cc` to 1.2.16 to fix `x86` Windows jobs on newest Windows SDK

Part of rust-lang#137733.

Bump `rustc_{codegen_ssa,llvm}` `cc` to 1.2.16 which contains rust-lang/cc-rs#1425 to help with rust-lang#137733. Previously tested in rust-lang#137724.

#### `cc` changelog between 1.2.13 and 1.2.16

<details>
<summary>`cc` changes since 1.2.13 up to and including 1.2.16</summary>

##### [1.2.16](rust-lang/cc-rs@cc-v1.2.15...cc-v1.2.16) - 2025-02-28

###### Fixed

- force windows compiler to run in `out_dir` to prevent artifacts in cwd (rust-lang#1415)

###### Other

- use `/arch:SSE2` for `x86` target arch (rust-lang#1425)
- Regenerate windows-sys binding ([rust-lang#1422](rust-lang/cc-rs#1422))
- Regenerate target info ([rust-lang#1418](rust-lang/cc-rs#1418))
- Add LIB var when compiling flag_check (rust-lang#1417)
- Change flag ordering ([rust-lang#1403](rust-lang/cc-rs#1403))
- Fix archiver detection for musl cross compilation ([rust-lang#1404](rust-lang/cc-rs#1404))

##### [1.2.15](rust-lang/cc-rs@cc-v1.2.14...cc-v1.2.15) - 2025-02-21

###### Other

- Regenerate target info ([rust-lang#1406](rust-lang/cc-rs#1406))
- Always read from all `CFLAGS`-style flags ([rust-lang#1401](rust-lang/cc-rs#1401))
- Simplify the error output on failed `Command` invocation ([rust-lang#1397](rust-lang/cc-rs#1397))

##### [1.2.14](rust-lang/cc-rs@cc-v1.2.13...cc-v1.2.14) - 2025-02-14

###### Other

- Regenerate target info ([rust-lang#1398](rust-lang/cc-rs#1398))
- Add support for setting `-gdwarf-{version}` based on RUSTFLAGS ([rust-lang#1395](rust-lang/cc-rs#1395))
- Add support for alternative network stack io-sock on QNX 7.1 aarch64 and x86_64 ([rust-lang#1312](rust-lang/cc-rs#1312))

</details>

r? `@Kobzol`
wangchen-vivo pushed a commit to wangchen-vivo/cc-rs that referenced this pull request Aug 13, 2026
* Rename windows_targets.rs to windows_link.rs

* Update windows/mod.rs

* Fix windows-bindgen

* update windows-sys binding
zhaowenbo-vivo pushed a commit to vivoblueos/cc-rs that referenced this pull request Oct 14, 2026
* Update doc for detecting changes/upgrades of compilers (rust-lang#1218)

* chore: release (rust-lang#1220)

* Add auto cancellation for CI jobs (rust-lang#1222)

when pushing new commits to the PR, cancel the previous jobs

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Reduce the need for the host target triple (rust-lang#1224)

* Fix wasm32-wasip1-threads:  shared-memory disallowed due to not compiled with 'atomics' or 'bulk-memory' features (rust-lang#1221)

* chore: release (rust-lang#1223)

* Remove incorrect "lib" prefixes in CXXSTDLIB doc comments (rust-lang#1228)

* chore: release (rust-lang#1229)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Use debug version of MSVC runtime library on debug (rust-lang#1231)

* Use debug version of MSVC runtime library on debug

Fixed rust-lang#1230

* Fix clippy

* chore: release (rust-lang#1232)

* Disable `CC_ENABLE_DEBUG_OUTPUT` if it is set to "0" (rust-lang#1234)

* Revert "Use debug version of MSVC runtime library on debug (rust-lang#1231)" (rust-lang#1237)

This reverts commit c80a706.

* chore: release (rust-lang#1235)

* Environment variables: For one accepting boolean, treat "0", "false" and empty env as false (rust-lang#1238)

* Add getenv_boolean

* Update Build methods to use getenv_boolean

And update getenv_boolean, to treat "false" as false.

* Fix Build::getenv_Boolean and treat empty env as false

* Env CC_ENABLE_DEBUG_OUTPUT: treat "false" or empty str as false

* Fix Build::getenv_boolean

* Fix clippy

* chore: release (rust-lang#1239)

* Regenerate target info (rust-lang#1243)

Co-authored-by: github-actions <github-actions@github.com>

* chore: release (rust-lang#1244)

* Don't pass -fPIC by default on wasm (rust-lang#1245)

* Don't pass -fPIC by default on wasm

Fix rust-lang#1240

* Fix cargo fmt

* chore: release (rust-lang#1246)

* Add comment explaining why cc does not rebuild on env PATH change (rust-lang#1247)

* chore: release v1.1.31 (rust-lang#1248)

* Use Cargo's target information when possible (rust-lang#1225)

* Reduce the need for the host target triple

* Use Cargo's target information when possible

rustc's target triples generally only have a vague resemblance to each
other and to the information needed by `cc`. Let's instead prefer
`CARGO_CFG_*` variables when available, since these contain the
information directly from the compiler itself.

In the cases where it isn't available (i.e. when running outside of a
build script), we fall back to parsing the target triple, but instead of
doing it in an ad-hoc fashion with string manipulation, we do it in a
more structured fashion up front.

* Remove unnecessary derive

* Use pre-generated target information

* Use Cow<'static, str> in Target

* Remove redundant test

* Redo from_cargo_environment_variables to be more error resilient

* Fix after merge

* Appease clippy

* Add support for targets within MSRV

* Fix test

* Fix a few more tests

* Properly match previous behaviour

* Update to Rust 2024-10-25

* Use a `const` and binary search instead of a match

* Fix formatting

* Use `rustc`'s knowledge of LLVM/Clang target triples (rust-lang#1252)

* Rename Target -> TargetInfo

* Add LLVM target triple to TargetInfo

* Remove AppleOs wrapper struct

* Simplify SDK name lookup code

* Fix passing --target to Clang

Use the same LLVM target triple as rustc does

* Don't pass `--target` twice on Windows

* Simplify LLVM target triple version removal

* Appease clippy

* Fix naming mistake

* Simplify

* chore: release v1.1.32 (rust-lang#1250)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Reduce size of `cc::Build`  and size of generated targets (rust-lang#1257)

* chore: release v1.1.33 (rust-lang#1258)

* Apple: Remove redundant flags (rust-lang#1256)

* Refactor Apple flags

Non-functional change.

* Apple: Remove redundant architecture flags

The architecture is specified for Clang with the --target option, and
both -arch and -m32/-m64 are passed to GCC elsewhere (should probably be
changed to -march, but that's a different issue).

* Don't output version flag on Clang

It is redundant, the version is already specified in `-target`.

* Appease clippy

* chore: release v1.1.34 (rust-lang#1259)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Use -windows-gnu for all UEFI targets (rust-lang#1264)

This restores the behavior prior to
rust-lang#1252, when the UEFI targets were
hardcoded in src/lib.rs.

* Do not add -fPIC by default on UEFI targets (rust-lang#1263)

This fixes a regression caused by 290a629.

* Remove support for FRC (rust-lang#1268)

* chore: release v1.1.35 (rust-lang#1267)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix CUDA build with clang++. (rust-lang#1273)

* chore: release v1.1.36 (rust-lang#1274)

* Regenerate target info (rust-lang#1280)

* Use relative directory for obj files hash (rust-lang#1270)

* chore: release v1.1.37 (rust-lang#1282)

* Fix WASM vs. WASI options (rust-lang#1284)

* windows_registry: Allow only specifying the architecture (rust-lang#1285)

* feat: add i686-pc-windows-gnullvm prefix detection (rust-lang#1283)

* chore: release v1.1.38 (rust-lang#1286)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* When invoking `cl -?`, set stdin to null (rust-lang#1288)

* chore: release v1.2.1 (rust-lang#1289)

* CI: Cap release at once per week (rust-lang#1291)

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Regenerate target info (rust-lang#1293)

* Allow disabling cc's ability to compile via env var CC_FORCE_DISABLE (rust-lang#1292)

* Fix two files with different extensions having the same object name (rust-lang#1295)

* Fix: Fetch target info from Cargo even if `Build::target` is manually set (rust-lang#1299)

* Fix compilation of C++ code for armv7-unknown-linux-gnueabihf (rust-lang#1298)

* Regenerate target info (rust-lang#1301)

Co-authored-by: github-actions <github-actions@github.com>

* CI: Avoid running scheduled jobs on forks (rust-lang#1302)

* Fix msvc stdout not shown on error (rust-lang#1303)

* Fix msvc stdout not shown on error

Fixed rust-lang#1260

* Fix clippy lint

* Call disable_localization unconditionally

* Call disable_localization in try_get_compiler`

* Set localization env based on msvc

* Fix setting env

* Fix fmt

* Fix confusing wording in comment

* Add support for using sccache wrapper with cuda/nvcc (rust-lang#1304)

* build: Inherit flags from rustc (rust-lang#1279)

* chore: release v1.2.2 (rust-lang#1306)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Optimize RustcCodegenFlags (rust-lang#1305)

* Optimize RustcCodegenFlags

Use `&str` instead of `String`.

* Fix lifetime annotations

* Fix compilation

* Fix lifetime in flags.rs

And remove unnecessary `.into()`

* Fix compilation in flags.rs: Avoid allocation in prefix handling

* FIx cargo-fmt in flags.rs

* Better error message when failing on unknown targets (rust-lang#1313)

* Improve detection of environment when compiling from msbuild or msvc (rust-lang#1310)

* Enable manual-run of release-pr.yml (rust-lang#1318)

* chore: release v1.2.3 (rust-lang#1316)

* use -maix64 instead of -m64 (rust-lang#1307)

* Add support for C/C++ compiler for Neutrino QNX: `qcc` (rust-lang#1319)

* chore: release v1.2.4 (rust-lang#1320)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Check linking when testing if compiler flags are supported (rust-lang#1322)

* chore: release v1.2.5 (rust-lang#1323)

* Don't inherit the `/Oy` flag for 64-bit targets (rust-lang#1330)

* chore: release v1.2.6 (rust-lang#1333)

* CI: Fix caching (rust-lang#1334)

* CI: Fix caching

Create lockfile before invoking rust-cache to make sure it is invalidated when new versions of dependencies have released

* Fix main.yml

* Allow using Visual Studio target names in `find_tool` (rust-lang#1335)

* Allow using VS target names in find_tool

Also fix a bug in vs15plus_vc_paths due to shadowing of the `target` variable.

* code review update

* Fix is_flag_supported on msvc (rust-lang#1336)

* Make is_flag_supported_inner take an &Tool (rust-lang#1337)

* Document new supported architecture names in windows::find

* CI: Add "test-pass" job (rust-lang#1340)

* Regenerate target info (rust-lang#1342)

* chore: release v1.2.7 (rust-lang#1341)

* Fix cuda testing (rust-lang#1343)

Fix feature name

* Optimize CI (rust-lang#1344)

Parameterize cargo flags into matrix for parallel building and better caching

* Fix clippy warnings (rust-lang#1346)

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Update `windows-bindgen` dependency (rust-lang#1347)

* Run regenerate-target-info on Thu (rust-lang#1349)

And run whenever the generation code has changed.

* Run regenerate-windows-sys on Thu (rust-lang#1348)

And run whenever the generation code has changed.

* Fix compiler family detection issue with clang-cl on macOS (rust-lang#1328)

* Fix opening PR in regenerate-target-info.yml (rust-lang#1351)

* Regenerate target info (rust-lang#1352)

* Fix opening PR in regenerate-windows-sys.yml (rust-lang#1353)

* Fix clippy error in lib.rs (rust-lang#1356)

* tool: Add `is_like_clang_cl()` getter (rust-lang#1357)

* chore: release v1.2.8 (rust-lang#1355)

* Fix compilation on macOS using clang and fix compilation using zig-cc (rust-lang#1364)

* Fix compilation on macOS using clang and fix zig-cc

* Reenable test detecting the regression

* Fix fmt in tool.rs

* Add comment

* Adjusted zig cc judgment and avoided zigbuild errors(rust-lang#1360) (rust-lang#1361)

* Adjusted zig cc judgment and avoided zigbuild errors(rust-lang#1360)

Adjusted is_zig_cc judgment and adjusted how supports_path_delimiter is handled.

* Update src/lib.rs

Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* typo fix and format check

cargo fmt --check

* Revert "Update src/lib.rs"

This reverts commit a69d8bb.

---------

Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* build: Don't pass inherited PGO flags to GNU compilers (rust-lang#1363)

Clang and GNU use different PGO libraries, so PGO flags inherited
from rustc should not automatically be passed to GNU compilers.

Fixes rust-lang#1354

* chore: release v1.2.9 (rust-lang#1365)

* Make hidden lifetimes explicit. (rust-lang#1366)

Mainline rustc has deprecated hidden lifetime parameters.

This change is required to build rustc with your own cc-rs fork.

* chore(ci): move ubuntu-20 job to ubuntu-22 (rust-lang#1368)

* Regenerate target info (rust-lang#1369)

* Fix CC_FORCE_DISABLE=0 evaluating to true (rust-lang#1371)

* chore: release v1.2.10 (rust-lang#1370)

* Update rusqlite requirement from 0.32.0 to 0.33.0 (rust-lang#1374)

* Regenerate target info (rust-lang#1376)

* Pass deployment target with `-m*-version-min=` (rust-lang#1339)

* Constrain `-Clto` and `-Cembed-bitcode` flag inheritance to be `clang`-only (rust-lang#1379)

* Include wrapper args. in `stdout` family heuristics to restore classifying `clang --driver-mode=cl` as `Msvc { clang_cl: true }` (rust-lang#1378)

* Fix more flag inheritance (rust-lang#1380)

* chore: release v1.2.11 (rust-lang#1377)

* Don't specify both `-target` and `-mtargetos=` on Apple targets (rust-lang#1384)

* allow specifying `rustc` when generating target information (rust-lang#1385)

* test: ensure `clang --driver-mode=cl` is MSVC- and `clang-cl`-like (rust-lang#1381)

* Split impl Build (rust-lang#1382)

* chore: release v1.2.12 (rust-lang#1387)

* Fix cross-compiling for Apple platforms (rust-lang#1389)

* chore: release v1.2.13 (rust-lang#1394)

* Add support for alternative network stack io-sock on QNX 7.1 aarch64 and x86_64 (rust-lang#1312)

* Add support for setting `-gdwarf-{version}` based on RUSTFLAGS (rust-lang#1395)

Detect if `-Zdwarf-version` (which will probably be stabilized soon
as `-Cdwarf-version`) was passed in RUSTFLAGS and set the corresponding
Clang/GCC option to the same value.

* Regenerate target info (rust-lang#1398)

* chore: release v1.2.14 (rust-lang#1400)

* Simplify the error output on failed `Command` invocation (rust-lang#1397)

* Always read from all `CFLAGS`-style flags (rust-lang#1401)

* Regenerate target info (rust-lang#1406)

* chore: release v1.2.15 (rust-lang#1408)

* Fix archiver detection for musl cross compilation (rust-lang#1404)

* Update windows-bindgen requirement from 0.59 to 0.60 (rust-lang#1412)

* Change flag ordering (rust-lang#1403)

* fix: force windows compiler to run in `out_dir` to prevent artifacts in cwd (rust-lang#1415)

* MSVC: Add LIB var when compiling flag_check (rust-lang#1417)

* Regenerate target info (rust-lang#1418)

* Fix regenerate-windows-sys.yml (rust-lang#1420)

Should run whenever the code is updated

* Fix gen-windows-sys-binding (rust-lang#1419)

--no-core is renamed to --no-deps

* Regenerate windows-sys binding (rust-lang#1422)

* Rename windows_targets.rs to windows_link.rs

* Update windows/mod.rs

* Fix windows-bindgen

* update windows-sys binding

* clang-cl: use `/arch:SSE2` for `x86` target arch (rust-lang#1425)

- Official Rust Windows targets require `SSE2` as part of baseline
  target features.
    - `i586` Windows target without SSE2 is in process of being removed,
      so wasn't changed in this commit.
- STL is built with `/arch:SSE2` and no longer `/arch:IA32` since
  <microsoft/STL#4741>.

This was noticed in rust-lang/rust CI for `i686-pc-windows-msvc`, where
`rustc_llvm` builds failed because `__m128i` wasn't available, and we
suspected it was due to `/arch:IA32`.

* chore: release v1.2.16 (rust-lang#1427)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update rusqlite requirement from 0.33.0 to 0.34.0 (rust-lang#1428)

* Added base support for `wasm32-wali-linux-musl` target (rust-lang#1373)

* Regenerate target info (rust-lang#1429)

* Parse `rustc` target names (rust-lang#1413)

Parse target names instead of using a pre-generated list.
Allows target names like those used by certain Linux distributions,
even when compiling outside build.rs.

* Fix failure from cargo not propagating because of pipe (rust-lang#1432)

* ci: fix creating issue comment (rust-lang#1433)

* Fix wasm32-wali-linux-musl target parsing (rust-lang#1434)

* Update windows-bindgen requirement from 0.60 to 0.61 (rust-lang#1436)

* Regenerate windows sys bindings (rust-lang#1437)

* Regenerate target info (rust-lang#1439)

* chore: release v1.2.17 (rust-lang#1435)

* Use compiler prefix `x86_64-linux-musl` (rust-lang#1443)

* Fix mips64-openwrt-linux-musl parsing (rust-lang#1449)

* Use `std::thread::available_parallelism` for determining the default number of jobs (rust-lang#1447)

* Regenerate target info (rust-lang#1450)

* chore: release v1.2.18 (rust-lang#1451)

* Fix musl compilation: Add musl as a prefix fallback (rust-lang#1455)

Fixed rust-lang#1452

* chore: release v1.2.19 (rust-lang#1458)

* Fix parser.rs on latest rustc nightly (rust-lang#1459)

Fixes rust-lang#1426

* Update rusqlite requirement from 0.34.0 to 0.35.0 (rust-lang#1460)

* Regenerate target info (rust-lang#1461)

* chore: release v1.2.20 (rust-lang#1462)

* Fix wasm32-unknown-unknown by passing -c (rust-lang#1424)

* Fix wasm32-unknown-unknown by passing -c

Fix rust-lang#1423

* Update lib.rs

Co-authored-by: Mads Marquart <mads@marquart.dk>

---------

Co-authored-by: Mads Marquart <mads@marquart.dk>

* chore: release v1.2.21 (rust-lang#1464)

* Add `flags` method to `cc::Build` for adding multiple flags (rust-lang#1466)

* chore: release v1.2.22 (rust-lang#1467)

* support "vxworks" and "nto" OSes on `get_base_archiver_variant` (rust-lang#1456)

* chore: release v1.2.23 (rust-lang#1470)

* Regenerate windows sys bindings (rust-lang#1471)

* chore: release v1.2.24 (rust-lang#1472)

* Update rusqlite requirement from 0.35.0 to 0.36.0 (rust-lang#1476)

* make `powerp64` use `powerpc64-linux-gnu` prefix (rust-lang#1474)

It used `powerpc-linux-gnu` before, which is 32-bit powerpc

* chore: release v1.2.25 (rust-lang#1478)

* Detect -Wslash-u-filename warning on clang-cl (rust-lang#1477)

* use windows 2022 in CI (rust-lang#1479)

* Also set `SDKROOT` when building apple platforms (rust-lang#1475)

* chore: release v1.2.26 (rust-lang#1481)

* Regenerate target info (rust-lang#1483)

* Update windows-bindgen requirement from 0.61 to 0.62 (rust-lang#1484)

* Regenerate windows sys bindings (rust-lang#1485)

* chore: release v1.2.27 (rust-lang#1486)

* Fix clippy warnings about not using variables in `format!` strings (rust-lang#1489)

* Recognize `mlibc` environment (rust-lang#1488)

* chore: release v1.2.28 (rust-lang#1491)

* [BlueOS] Support vivo BlueOS's toolchain

Adapted to cc-rs 1.2.28's TargetInfo struct API when resolving
conflicts; the -mfloat-abi=hard check is now
`target.arch == "arm" && target.abi == "eabihf"`.

(cherry picked from commit f158c93)

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mads Marquart <mads@marquart.dk>
Co-authored-by: Graydon Hoare <graydon@pobox.com>
Co-authored-by: Trevor Gross <t.gross35@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Nicholas Bishop <nbishop@nbishop.net>
Co-authored-by: Andy Polyakov <9038069+dot-asm@users.noreply.github.com>
Co-authored-by: Nicolas Mattia <nicolas@nmattia.com>
Co-authored-by: Mateusz Mikuła <mati865@users.noreply.github.com>
Co-authored-by: Chris Denton <chris@chrisdenton.dev>
Co-authored-by: Simon Hausmann <hausmann@gmail.com>
Co-authored-by: Frank Laub <github@frank.laub.io>
Co-authored-by: Kajetan Puchalski <kajetan.puchalski@tuta.io>
Co-authored-by: David Lönnhager <dv.lnh.d@gmail.com>
Co-authored-by: Henry Jiang <h243jian@uwaterloo.ca>
Co-authored-by: Florian Bartels <108917393+flba-eb@users.noreply.github.com>
Co-authored-by: clubby789 <jamie@hill-daniel.co.uk>
Co-authored-by: Kenny Kerr <kenny@kennykerr.ca>
Co-authored-by: Marijn Suijten <marijns95@gmail.com>
Co-authored-by: Masato TOYOSHIMA <77603626+phoepsilonix@users.noreply.github.com>
Co-authored-by: Kajetan Puchalski <kajetan.puchalski@kajetanp.co.uk>
Co-authored-by: tnewsome-lynx <tnewsome@lynx.com>
Co-authored-by: Marco Ieni <11428655+marcoieni@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>
Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
Co-authored-by: Josh Junon <Qix-@users.noreply.github.com>
Co-authored-by: Wesley Wiser <wwiser@gmail.com>
Co-authored-by: Melvin Wang <melvin.mc.wang@gmail.com>
Co-authored-by: Arjun Ramesh <90422058+arjunr2@users.noreply.github.com>
Co-authored-by: Justin W Smith <103147162+justsmth@users.noreply.github.com>
Co-authored-by: Jakub Beránek <berykubik@gmail.com>
Co-authored-by: fiveseven <44082628+fiveseven-lambda@users.noreply.github.com>
Co-authored-by: Onur Özkan <onurozkan.dev@outlook.com>
Co-authored-by: Folkert de Vries <flokkievids@gmail.com>
Co-authored-by: Paul Wagener <mail@paulwagener.nl>
Co-authored-by: Ronny Chan <ronny6993@gmail.com>
Co-authored-by: no92 <no92@users.noreply.github.com>
Co-authored-by: Kai Law <lawkai@vivo.com>
Co-authored-by: Han Jiang <jianghan@vivo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant