rusty-cheddar
rusty-cheddar copied to clipboard
macOS Could not compile syntex_syntax v0.24.0
Cargo.lock: [[package]] name = "rusty-cheddar" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "clap 1.5.6 (registry+https://github.com/rust-lang/crates.io-index)", "syntex_syntax 0.24.0 (registry+https://github.com/rust-lang/crates.io-index)", "toml 0.1.30 (registry+https://github.com/rust-lang/crates.io-index)", ]
when I cargo build and then I will get following error:
error: to use a constant of type codemap::Span
in a pattern, codemap::Span
must be annotated with #[derive(PartialEq, Eq)]
--> /Users/zoey.weng/.cargo/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.24.0/src/errors/emitter.rs:100:18
|
100 | Some(COMMAND_LINE_SP) => self.emit_(FileLine(COMMAND_LINE_SP), msg, code, lvl),
| ^^^^^^^^^^^^^^^
error: aborting due to previous error
error: Could not compile syntex_syntax
.
"syntex_syntax 0.59.1" is ok. But rusty-cheddar use "syntex_syntax 0.24.0".
Hi @piaojin, as you can probably tell I don't really have the time to maintain this crate anymore unfortunately. I would strongly suggest looking into cbindgen instead.
Just to chime in that syntex_syntax v0.24.0 doesn't compile in windows-gnu either. cbindgen works though :)
Thanks for all the work so far.
@Sean1708 Thank you for your suggestion. I will try cbindgen.