ears
ears copied to clipboard
Compiling fails (v0.3.0)
Compiling fails with:
$ cargo build [17:05:34]
Compiling ears v0.3.0 (file:///tmp/ears)
src/internal.rs:36:100: 36:101 error: macros that expand to items must either be surrounded with braces or followed by a semicolon
src/internal.rs:36 thread_local!(static AL_CONTEXT: RefCell<Box<OpenAlData>> = RefCell::new(box OpenAlData::default()))
^
src/internal.rs:192:1: 192:2 error: macros that expand to items must either be surrounded with braces or followed by a semicolon
src/internal.rs:192 )
^
src/init.rs:104:15: 104:19 error: proc is a reserved keyword
src/init.rs:104 spawn(proc() {
^~~~
Could not compile ears.
To learn more, run the command again with --verbose.
$ cargo build --verbose [17:05:40]
Compiling ears v0.3.0 (file:///tmp/ears)
Running rustc src/ears.rs --crate-name ears --crate-type dylib --crate-type rlib -g --out-dir /tmp/ears/target/debug --emit=dep-info,link -L dependency=/tmp/ears/target/debug -L dependency=/tmp/ears/target/debug/deps
src/internal.rs:36:100: 36:101 error: macros that expand to items must either be surrounded with braces or followed by a semicolon
src/internal.rs:36 thread_local!(static AL_CONTEXT: RefCell<Box<OpenAlData>> = RefCell::new(box OpenAlData::default()))
^
src/internal.rs:192:1: 192:2 error: macros that expand to items must either be surrounded with braces or followed by a semicolon
src/internal.rs:192 )
^
src/init.rs:104:15: 104:19 error: proc is a reserved keyword
src/init.rs:104 spawn(proc() {
^~~~
Could not compile ears.
Caused by:
Process didn't exit successfully: rustc src/ears.rs --crate-name ears --crate-type dylib --crate-type rlib -g --out-dir /tmp/ears/target/debug --emit=dep-info,link -L dependency=/tmp/ears/target/debug -L dependency=/tmp/ears/target/debug/deps (exit code: 101)
Hi, Sorry but the last update should be before rust1.0, this will need some time to make it work again. I will do it as soon as I have some time.
Hello, am at process of fixing your ears lib according Rust 1.0 standart. I already fixed all compilation errors (there was hundreds of that) and now at process of fixing runtime problems. I can do "pull request" after I finished or now at process of fixing as you wish.
Fixed version of ears you can find at fork https://github.com/rjdgtn/ears
I've fixed some bugs and set up CI for ears: https://github.com/jhasse/ears
@jeremyletang Hope it's okay I've also added ears to crates.io. Do you want to continue working on ears atm? If not, would you be willing to deprecate this repro and point to mine?