Support cross-compiling to Windows using MinGW
This commit is contained in:
parent
c825bc8e61
commit
1122f42e28
7 changed files with 82 additions and 22 deletions
|
|
@ -621,6 +621,7 @@ struct PanicLocation {
|
|||
}
|
||||
|
||||
#[no_mangle]
|
||||
#[cfg(not(windows))]
|
||||
pub fn get_tls() -> u8 {
|
||||
#[thread_local]
|
||||
static A: u8 = 42;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue