-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
This RFC was merged in recently, and today when I went to build nanovg I found that it wouldn't build with the following error:
/home/nick/.cargo/git/checkouts/nanovg-rs-84b890ac0c756c09/master/src/lib.rs:69:9: 69:15 error: no rules expected the token `static`
/home/nick/.cargo/git/checkouts/nanovg-rs-84b890ac0c756c09/master/src/lib.rs:69 static LEFT = ffi::NVG_ALIGN_LEFT,
^~~~~~
Could not compile `nanovg`.
Judging from the RFC, the solution is to replace this particular usage of static with const.
Metadata
Metadata
Assignees
Labels
No labels