File tree 2 files changed +5
-4
lines changed 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,10 @@ jobs:
16
16
runs-on : ${{ matrix.os }}
17
17
steps :
18
18
- uses : actions/checkout@v3
19
- - uses : dtolnay/rust-toolchain@1.45.0
20
- if : contains(matrix.os, 'windows')
19
+ - uses : dtolnay/rust-toolchain@stable
21
20
- name : Run tests
22
21
if : contains(matrix.os, 'windows')
23
22
run : cargo test --verbose --features "egl build_dlls"
24
- - uses : dtolnay/rust-toolchain@stable
25
- if : ${{ !contains(matrix.os, 'windows') }}
26
23
- name : Run test (POSIX)
27
24
if : ${{ !contains(matrix.os, 'windows') }}
28
25
run : |
Original file line number Diff line number Diff line change @@ -124,6 +124,8 @@ fn build_egl(target: &str) {
124
124
assert ! ( status. unwrap( ) . success( ) ) ;
125
125
}
126
126
127
+ build. link_lib_modifier ( "-whole-archive" ) ;
128
+
127
129
// Build lib.
128
130
build. compile ( "EGL" ) ;
129
131
}
@@ -187,6 +189,8 @@ fn build_angle() {
187
189
. flag_if_supported ( "-arch:SSE2" ) ; // MSVC
188
190
}
189
191
192
+ build. link_lib_modifier ( "-whole-archive" ) ;
193
+
190
194
build. compile ( "angle" ) ;
191
195
192
196
if egl {
You can’t perform that action at this time.
0 commit comments