We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d2f944 commit 2371539Copy full SHA for 2371539
stdlib/public/runtime/Exclusivity.cpp
@@ -38,6 +38,8 @@
38
#elif _MSC_VER
39
#include <intrin.h>
40
#define get_return_address() _ReturnAddress()
41
+#elif defined(__wasi__)
42
+#define get_return_address() ((void*) 0)
43
#else
44
#error missing implementation for get_return_address
45
#define get_return_address() ((void*) 0)
0 commit comments