Skip to content

(Users of) untrusted is miscompiled in Rust 1.53 nightly since 2021-03-23 when LTO is enabled. #57

@briansmith

Description

@briansmith

These all fail (cargo 1.53.0-nightly (0ed318d18 2021-04-23):

cargo +nightly test --target=x86_64-unknown-linux-gnu --release ecdsa_from_pkcs8_test
cargo +nightly test --target=x86_64-pc-windows-msvc --release ecdsa_from_pkcs8_test
cargo +nightly test --target=i686-pc-windows-msvc --release ecdsa_from_pkcs8_test

These all succeed using the same nightly version, but not --release:

cargo +nightly test --target=i686-pc-windows-msvc ecdsa_from_pkcs8_test
cargo +nightly test --target=x86_64-pc-windows-msvc
cargo +1.51.0 test --target=i686-pc-windows-msvc --release ecdsa_from_pkcs8_test
cargo +beta test --target=i686-pc-windows-msvc --release ecdsa_from_pkcs8_test

ring's tests also all pass with the latest 0.7.1 release of untrusted before 0.8.0.

So the combination of untrusted 0.8.0 + ring main branch + nightly Rust seems to be broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions