From c026764e9480f327e2fd8d9592e0bc5d07e0fc02 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 5 Sep 2022 17:20:43 +0200 Subject: [PATCH] Adapt cfg-expression evaluation for the new wasm64 target_arch --- rust2rpm/cfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust2rpm/cfg.py b/rust2rpm/cfg.py index cd164db..f167064 100644 --- a/rust2rpm/cfg.py +++ b/rust2rpm/cfg.py @@ -68,7 +68,7 @@ def evaluate_predicate(name: str, value: str) -> bool: # 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