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

eframe: selectively expose parts of the API based on compile target #1867

Merged
merged 2 commits into from
Jul 29, 2022

Commits on Jul 29, 2022

  1. eframe: selectively expose parts of the API based on compile target

    A lot of the `eframe` API is native-only or web-only. With this PR,
    only the parts that are implemented for each platform is exposed.
    
    This means you'll need to add `#[cfg(target_arch = "wasm32")]` around
    code that uses the web-parts of the eframe API, and add
    `#[cfg(not(target_arch = "wasm32"))]` around the parts that are
    for native/desktop.
    emilk committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    13eb808 View commit details
    Browse the repository at this point in the history
  2. Update changelog

    emilk committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    1d26701 View commit details
    Browse the repository at this point in the history