mashplant / ncmdump-rs Goto Github PK
View Code? Open in Web Editor NEWnetease cloud music copyright protection file dump
Home Page: https://mashplant.online/ncmdump-rs/
netease cloud music copyright protection file dump
Home Page: https://mashplant.online/ncmdump-rs/
Hi,
我是从《在Rust的wasm后端中链接C++》文章过来的,有一个类似的问题想请教一下。
我有一个Rust库,并且提供了C接口。我用c++重新将这些C接口封装了一下。
我也想将c++代码和rust,使用wasm打包在一起。
遇到的问题是,如果使用emcc将c++代码编译成wasm,并在Rust在.cargo/config的rustflags中指定link-args,链接这个wasm。
但是编译出的wams和胶水代码,并没有处理c++中有关STL库的符号。wasm_bindgen正常,效果像这样,
下面env中,很奇怪的符号,就是c++ mangle的符号
请问一下,有什么方法,能同时处理wasm_bindgen符号,还可以把c++的符号正常决议吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.