Skip to content

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented May 1, 2020

Closes #130. This pulls in dtolnay/proc-macro2#220.

Tested by adding this:

[profile.dev]
panic = "abort"

to the bottom of Cargo.toml and running cargo run --manifest-path /git/cxx/gen/cmd/Cargo.toml -- /git/cxx/tests/ffi/lib.rs, which aborts before this PR and succeeds after this PR.

@dtolnay dtolnay merged commit 7bdd9b5 into master May 1, 2020
@dtolnay dtolnay deleted the fallback branch May 1, 2020 23:16
martinboehme added a commit to martinboehme/autocxx that referenced this pull request Mar 19, 2021
Cargo always runs build scripts with panic=unwind, but other build
environments might not -- see here for a similar issue in cxx:

dtolnay/cxx#130

And the corresponding fix:

dtolnay/cxx#184
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

Successfully merging this pull request may close these issues.

cxxbridge doesn't run with panic=abort
1 participant