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

Try assert_panic_free crate #45

Open
Minoru opened this issue Nov 14, 2021 · 0 comments
Open

Try assert_panic_free crate #45

Minoru opened this issue Nov 14, 2021 · 0 comments

Comments

@Minoru
Copy link
Owner

Minoru commented Nov 14, 2021

Inspired by #33.

My first try led to:

$ cargo build --release
--->8---- snip --->8----
  = note: ld.lld: error: undefined symbol:

          HEY! ACTUAL ERROR DOWN HERE!!! (sorry for that big mess up there) the compiler was unable to prove that some code passed to assert_panic_free is actually panic-free. Please ensure that optimizations are enabled.
          >>> referenced by assert_panic_free.2d69ec46-cgu.0
          >>>               assert_panic_free-265392d598ef8e2f.assert_panic_free.2d69ec46-cgu.0.rcgu.o:(_$LT$assert_panic_free..NoPanic$u20$as$u20$core..ops..drop..Drop$GT$::drop::h5030cb1ebeeff06d) in archive /home/minoru/src/minoru-fediverse-crawler/target/release/deps/libassert_panic_free-265392d598ef8e2f.rlib
          collect2: error: ld returned 1 exit status
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