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

Fix linker error: undefined symbol core::panicking::panic #52

Merged
merged 1 commit into from
Sep 15, 2023

Commits on Sep 15, 2023

  1. Fix linker error: undefined symbol core::panicking::panic

    Builds with `-Z build-std-features=panic_immediate_abort` to ensure the
    `core::panicking` plumbing is stripped.
    
    See: rust-lang/rust#55011
    
    Adds `-Cpanic=abort` to RUSTFLAGS so that build profiles do not need to
    specify `panic = "abort"` in Cargo.toml. This can potentially allow
    simulator builds to customize panics. (Maybe printing to the console and
    stopping the event loop, for instance. But this work is TBD.)
    
    Fixes pd-rs/crankstart#66
    parasyte committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    9f5539c View commit details
    Browse the repository at this point in the history