Closed shravanrn closed 1 month ago
WASM_RT_THREAD_LOCAL should use __thread compiler intrinsic where possible (gcc, clang, icc) to avoid making C11 a hard dependency to compile the wasm2c runtime. This is a necessity for Segue as well as it also uses a thread_local variable.
WASM_RT_THREAD_LOCAL
__thread
@sbc100 This is now ready for review. Could you please help land this when you have a chance?
WASM_RT_THREAD_LOCAL
should use__thread
compiler intrinsic where possible (gcc, clang, icc) to avoid making C11 a hard dependency to compile the wasm2c runtime. This is a necessity for Segue as well as it also uses a thread_local variable.