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

Fixes curve25519_dalek_bits defaults for cross and wasm #465

Commits on Dec 10, 2022

  1. Fixes curve25519_dalek_bits defaults for cross and wasm

    build.rs was using cfg(target) but it has to evaluate this from env TARGET
    as build.rs cfg(target) in build context is the builder host and not the target.
    
    This change fixes curve25519_dalek_bits lottery to determine the correct
    automatic curve25119_dalek_bits with the help of platforms crate.
    
    As discussed in dalek-cryptography#456 this also prepares for well known defaults for wasm and
    arm serial backend via cfg(curve25519_dalek_bits = "64")
    
    If the wasm32 or armv7 are going to be u64 serial by default these will be
    followed up on later.
    pinkforest committed Dec 10, 2022
    Configuration menu
    Copy the full SHA
    3d2d3d9 View commit details
    Browse the repository at this point in the history