Skip to content
New issue

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

cargo build error on master #50

Closed
0xAX opened this issue Jan 14, 2017 · 1 comment
Closed

cargo build error on master #50

0xAX opened this issue Jan 14, 2017 · 1 comment

Comments

@0xAX
Copy link
Contributor

0xAX commented Jan 14, 2017

Hello everyone,

With the last update 69de1625 started to get following error:

$ cargo build --verbose
       Fresh lazy_static v0.2.2
       Fresh libc v0.2.17
   Compiling remacs v0.1.0 (file:///home/alex/dev/remacs/rust_src)
     Running `rustc build.rs --crate-name build_script_build --crate-type bin -g -C metadata=6ee1bca0c6881354 --out-dir /home/alex/dev/remacs/rust_src/target/debug/build/remacs-6ee1bca0c6881354 --emit=dep-info,link -L dependency=/home/alex/dev/remacs/rust_src/target/debug/deps --extern libc=/home/alex/dev/remacs/rust_src/target/debug/deps/liblibc-ad32fde1bd850538.rlib`
error: the crate `libc` is compiled with the panic strategy `abort` which is incompatible with this crate's strategy of `unwind`

error: aborting due to previous error

error: Could not compile `remacs`.

Caused by:
  process didn't exit successfully: `rustc build.rs --crate-name build_script_build --crate-type bin -g -C metadata=6ee1bca0c6881354 --out-dir /home/alex/dev/remacs/rust_src/target/debug/build/remacs-6ee1bca0c6881354 --emit=dep-info,link -L dependency=/home/alex/dev/remacs/rust_src/target/debug/deps --extern libc=/home/alex/dev/remacs/rust_src/target/debug/deps/liblibc-ad32fde1bd850538.rlib` (exit code: 101)

Do somebody have any ideas what's wrong here?

@0xAX
Copy link
Contributor Author

0xAX commented Jan 14, 2017

hmm. now it works after commenting of

[profile.dev]
panic = "abort"

and uncommenting. Sorry for noise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant