Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是否必须制作两个不同的 crate 来代表我的主程序,或者我可以使用共享 crate 来实现这一点?
WASM 要求 lib 类型为“cdylib”,它编译为库,而可执行文件需要为“bin”类型。是否可以根据选择的编译目标进行配置?