Skip to content

Build fails on Windows ARM64 #405

@dboreham

Description

@dboreham

Build failure like this:

  C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ring-0.16.20\crypto\fipsmodule\bn\internal.h(191): error C2065: 'BN_ULLONG': undeclared identifier
  C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ring-0.16.20\crypto\fipsmodule\bn\internal.h(191): error C2146: syntax error: missing ';' before identifier 'result'
  C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ring-0.16.20\crypto\fipsmodule\bn\internal.h(191): warning C4555: result of expression not used
  C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ring-0.16.20\crypto\fipsmodule\bn\internal.h(191): error C2065: 'result': undeclared identifier

Which seems to be this issue: briansmith/ring#1167

Which in turn seems to have been fixed in 2022 in ring version 0.17.

However we are using two different versions of ring one of which is too old:

$ cargo tree -p ring
error: There are multiple `ring` packages in your project, and the specification `ring` is ambiguous.
Please re-run this command with one of the following specifications:
  [email protected]
  [email protected]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions