Repository navigation
Add glue to use SpiderMonkey's memory reporting from Rust code. - #177
Conversation
|
For this particular API, C++ glue is not necessary. https://github.com/michaelwu/rust-bindgen/tree/sm-hacks along with https://github.com/michaelwu/llvm and https://github.com/michaelwu/clang will do the trick. I can generate some bindings for you if you want - it's a bit of a hassle to setup bindgen. |
|
For reference, https://gist.github.com/michaelwu/9f10f60dc8b2c8e881cd is the bindgen output on MemoryMetrics.h (without your sm patch). Needs a bit of cleanup to work, especially since this file seems to trigger a few new features I haven't fully tested yet. Constructing and destructing C++ objects may require C++ glue, but many other things can be covered by the generator. |
|
@bors-servo: r+ |
|
📌 Commit a802d31 has been approved by |
Add glue to use SpiderMonkey's memory reporting from Rust code. This cannot land until servo/mozjs#49 has landed. And it must land before servo/servo#6572 can land.
|
☀️ Test successful - cargo-linux, cargo-mac |
Allow the matrix to be supplied for surface patterns. Required to get tiling working right. r? @glennw
This cannot land until servo/mozjs#49 has landed. And it must land before servo/servo#6572 can land.