File tree 1 file changed +3
-3
lines changed
library/std/src/sys/windows
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -199,9 +199,9 @@ macro_rules! compat_fn_optional {
199
199
/// Load all needed functions from "api-ms-win-core-synch-l1-2-0".
200
200
pub ( super ) fn load_synch_functions ( ) {
201
201
fn try_load ( ) -> Option < ( ) > {
202
- static MODULE_NAME : & CStr = ansi_str ! ( "api-ms-win-core-synch-l1-2-0" ) ;
203
- static WAIT_ON_ADDRESS : & CStr = ansi_str ! ( "WaitOnAddress" ) ;
204
- static WAKE_BY_ADDRESS_SINGLE : & CStr = ansi_str ! ( "WakeByAddressSingle" ) ;
202
+ const MODULE_NAME : & CStr = ansi_str ! ( "api-ms-win-core-synch-l1-2-0" ) ;
203
+ const WAIT_ON_ADDRESS : & CStr = ansi_str ! ( "WaitOnAddress" ) ;
204
+ const WAKE_BY_ADDRESS_SINGLE : & CStr = ansi_str ! ( "WakeByAddressSingle" ) ;
205
205
206
206
// Try loading the library and all the required functions.
207
207
// If any step fails, then they all fail.
You can’t perform that action at this time.
0 commit comments