Skip to content

Commit 1ed150d

Browse files
committed
Fix the target-specific-lookup for rustflags
1 parent 33172a7 commit 1ed150d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ fn load_manifest_capi_config(
674674
.ok()
675675
.is_some_and(|p| p.matches(name, &rustc_target.cfg))
676676
{
677-
v.as_str()
677+
v.get("rustflags").and_then(|v| v.as_str())
678678
} else {
679679
None
680680
}

0 commit comments

Comments
 (0)