File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 80
80
os : windows-latest
81
81
rust : nightly-x86_64-gnu
82
82
steps :
83
- - uses : actions/checkout@v1
83
+ - uses : actions/checkout@v4
84
84
with :
85
85
submodules : true
86
86
- name : Install Rust (rustup)
@@ -108,7 +108,7 @@ jobs:
108
108
name : Rustfmt
109
109
runs-on : ubuntu-latest
110
110
steps :
111
- - uses : actions/checkout@v1
111
+ - uses : actions/checkout@v4
112
112
with :
113
113
submodules : true
114
114
- name : Install stable `rustfmt`
@@ -119,7 +119,7 @@ jobs:
119
119
name : Clippy
120
120
runs-on : ubuntu-latest
121
121
steps :
122
- - uses : actions/checkout@v1
122
+ - uses : actions/checkout@v4
123
123
with :
124
124
submodules : true
125
125
# Unlike rustfmt, stable clippy does not work on code with nightly features.
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
authors = [" Jorge Aparicio <japaricious@gmail.com>" ]
3
3
name = " compiler_builtins"
4
- version = " 0.1.105 "
4
+ version = " 0.1.106 "
5
5
license = " MIT/Apache-2.0"
6
6
readme = " README.md"
7
7
repository = " https://github.com/rust-lang/compiler-builtins"
Original file line number Diff line number Diff line change @@ -57,9 +57,7 @@ fn main() {
57
57
// Don't use a C compiler for these targets:
58
58
//
59
59
// * 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" ) {
63
61
#[ cfg( feature = "c" ) ]
64
62
c:: compile ( & llvm_target, & target) ;
65
63
}
@@ -514,7 +512,7 @@ mod c {
514
512
}
515
513
}
516
514
517
- if target_arch == "mips" {
515
+ if target_arch == "mips" || target_arch == "riscv32" || target_arch == "riscv64" {
518
516
sources. extend ( & [ ( "__bswapsi2" , "bswapsi2.c" ) ] ) ;
519
517
}
520
518
You can’t perform that action at this time.
0 commit comments