Fixed in https://tracker.debian.org/news/1289006/accepted-llvm- toolchain-13-11301rc1-1exp2-source-into-experimental/
Note that it won't be enough, it needs the runtime: clang-13 --target=wasm32-unknown-unknown foo.c wasm-ld: error: cannot open crt1.o: No such file or directory wasm-ld: error: unable to find library -lc wasm-ld: error: unable to find library -lgcc clang: error: linker command failed with exit code 1 (use -v to see invocation) ** Package changed: llvm-toolchain-10 (Ubuntu) => llvm-toolchain-13 (Ubuntu) ** Changed in: llvm-toolchain-13 (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904596 Title: wasm32-unknown-unknown does not link To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-13/+bug/1904596/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs