File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 5555 SCCACHE_GHA_ENABLED : " true"
5656 # todo-zm: remove conditional once https://github.com/Mozilla-Actions/sccache-action/issues/189 is resolved
5757 RUSTC_WRAPPER : ${{ matrix.platform != 'windows-11-arm' && 'sccache' || '' }}
58+ RUSTFLAGS : -Ctarget-feature=+crt-static
5859
5960 steps :
6061 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 2626 SCCACHE_GHA_ENABLED : " true"
2727 # todo-zm: remove conditional once https://github.com/Mozilla-Actions/sccache-action/issues/189 is resolved
2828 RUSTC_WRAPPER : ${{ matrix.platform != 'windows-11-arm' && 'sccache' || '' }}
29+ RUSTFLAGS : -Ctarget-feature=+crt-static
2930
3031 steps :
3132 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ fn main() {
1010 CFG . include_prefix = "crate-root" ;
1111
1212 cxx_build:: bridge ( "src/lib.rs" )
13+ . flag ( "/MT" )
1314 . files (
1415 glob ( "cpp/src/*.cc" )
1516 . expect ( "Failed to read cpp files" )
You can’t perform that action at this time.
0 commit comments