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

C++: Fix build with nightly Rust #5078

Merged
merged 1 commit into from
Apr 16, 2024
Merged

C++: Fix build with nightly Rust #5078

merged 1 commit into from
Apr 16, 2024

Commits on Apr 16, 2024

  1. C++: Fix build with nightly Rust

    Cargo disallows dashes in library target names (lib.name in Cargo.toml), but when not set it uses
    the package name. That meant that dashes snuck in and rust-lang/cargo#12783 fixes that.
    
    The targets Corrosion creates correspond to the library name, so after that change it's slint_cpp.
    
    To make this work with stable cargo, explicitly switch lib.name to slint_cpp.
    tronical committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    0444cef View commit details
    Browse the repository at this point in the history