#224 Adapt cfg-expression evaluation for the new wasm64 target_arch
Merged a year ago by decathorpe. Opened 2 years ago by decathorpe.
Unknown source wasm64-fixes  into  main

file modified
+1 -1
@@ -68,7 +68,7 @@

              # Needs to be ignored, as we cannot generate patches that are

              # different depending on the host architecture - except if the

              # target architecture is "wasm32", which we don't support.

-             return value != "wasm32"

+             return value not in ["wasm32", "wasm64"]

  

          case "target_feature":

              # The "target_feature" predicate can be ignored as well, since the

Fixes #223 by adding "wasm64" to the target_arches that we don't support.

tokio 1.21.0 is a good test case.

Looks like this works as expected. I'll merge and backport to rust2rpm v22 in Fedora / EPEL.

Pull-Request has been merged by decathorpe

a year ago
Metadata