We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a36e36 commit f5e6a9fCopy full SHA for f5e6a9f
src/hostfxr/library2_1.rs
@@ -184,8 +184,8 @@ impl Hostfxr {
184
}
185
186
thread_local! {
187
- static GET_AVAILABLE_SDKS_DATA: RefCell<Option<Vec<PathBuf>>> = RefCell::new(None);
188
- static RESOLVE_SDK2_DATA: RefCell<Option<ResolveSdkResult>> = RefCell::new(None);
+ static GET_AVAILABLE_SDKS_DATA: RefCell<Option<Vec<PathBuf>>> = const { RefCell::new(None) };
+ static RESOLVE_SDK2_DATA: RefCell<Option<ResolveSdkResult>> = const { RefCell::new(None) };
189
190
191
extern "C" fn get_available_sdks_callback(sdk_count: i32, sdks_ptr: *const *const char_t) {
0 commit comments