Skip to content

Commit d1304b8

Browse files
authored
Merge branch 'master' into wasm
2 parents bf279fd + ab849ed commit d1304b8

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
os: windows-latest
8181
rust: nightly-x86_64-gnu
8282
steps:
83-
- uses: actions/checkout@v1
83+
- uses: actions/checkout@v4
8484
with:
8585
submodules: true
8686
- name: Install Rust (rustup)
@@ -108,7 +108,7 @@ jobs:
108108
name: Rustfmt
109109
runs-on: ubuntu-latest
110110
steps:
111-
- uses: actions/checkout@v1
111+
- uses: actions/checkout@v4
112112
with:
113113
submodules: true
114114
- name: Install stable `rustfmt`
@@ -119,7 +119,7 @@ jobs:
119119
name: Clippy
120120
runs-on: ubuntu-latest
121121
steps:
122-
- uses: actions/checkout@v1
122+
- uses: actions/checkout@v4
123123
with:
124124
submodules: true
125125
# Unlike rustfmt, stable clippy does not work on code with nightly features.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
authors = ["Jorge Aparicio <japaricious@gmail.com>"]
33
name = "compiler_builtins"
4-
version = "0.1.105"
4+
version = "0.1.106"
55
license = "MIT/Apache-2.0"
66
readme = "README.md"
77
repository = "https://github.com/rust-lang/compiler-builtins"

build.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ fn main() {
5757
// Don't use a C compiler for these targets:
5858
//
5959
// * nvptx - everything is bitcode, not compatible with mixed C/Rust
60-
// * riscv - the rust-lang/rust distribution container doesn't have a C
61-
// compiler.
62-
if !target.contains("nvptx") && (!target.starts_with("riscv") || target.contains("xous")) {
60+
if !target.contains("nvptx") {
6361
#[cfg(feature = "c")]
6462
c::compile(&llvm_target, &target);
6563
}
@@ -514,7 +512,7 @@ mod c {
514512
}
515513
}
516514

517-
if target_arch == "mips" {
515+
if target_arch == "mips" || target_arch == "riscv32" || target_arch == "riscv64" {
518516
sources.extend(&[("__bswapsi2", "bswapsi2.c")]);
519517
}
520518

0 commit comments

Comments
 (0)