Commit aeb17ec
committed
samples/wasi-threads: Fix wasm app target
As far as I know, cmake can't handle two different compilers and
targets within a project as this sample is trying to do.
This commit is a band-aid fix.
While CMAKE_C_COMPILER_TARGET here happens to work when both of
host compiler and wasm compiler are clang, it doesn't seem working
if the host compiler is gcc. (as it is on the CI.)1 parent efa6d2a commit aeb17ec
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments