We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want build a node-canvas like project use components/canvas, but got a compile error when I had my first try.
here is my test project: https://github.com/Brooooooklyn/node-servo-canvas
here is my Cargo.toml:
Cargo.toml
[package] name = "node-servo-canvas" version = "0.1.0" [dependencies] canvas = { path = "servo/components/canvas" }
The text was updated successfully, but these errors were encountered:
Can you provide more information about the error?
Sorry, something went wrong.
sorry, I updated my comment, add screenshot and Cargo.toml info
That's because the servo crate feature is not enabled: https://github.com/servo/servo/blob/master/components/malloc_size_of/lib.rs#L700-L708
servo
ok, I see, I will use webrender directly
No branches or pull requests
I want build a node-canvas like project use components/canvas,
but got a compile error when I had my first try.
rustc version
cargo version
here is my test project: https://github.com/Brooooooklyn/node-servo-canvas
here is my
Cargo.toml
:The text was updated successfully, but these errors were encountered: