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 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.
Original file line number Diff line number Diff line change 11[package ]
22authors = [
" Jorge Aparicio <[email protected] >" ]
33name = " compiler_builtins"
4- version = " 0.1.105 "
4+ version = " 0.1.106 "
55license = " MIT/Apache-2.0"
66readme = " README.md"
77repository = " https://github.com/rust-lang/compiler-builtins"
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments