File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
library/std/src/sys/windows Expand file tree Collapse file tree 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 {
199199/// Load all needed functions from "api-ms-win-core-synch-l1-2-0".
200200pub ( super ) fn load_synch_functions ( ) {
201201 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" ) ;
205205
206206 // Try loading the library and all the required functions.
207207 // If any step fails, then they all fail.
You can’t perform that action at this time.
0 commit comments