Skip to content

Commit b078bc9

Browse files
committed
fix: don't skip 'target-cpu=native' when extracting target_cpu
1 parent b08e6ec commit b078bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama-cpp-sys-2/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ fn main() {
514514
.and_then(|rustflags| {
515515
rustflags
516516
.split('\x1f')
517-
.find(|f| f.contains("target-cpu=") && !f.contains("target-cpu=native"))
517+
.find(|f| f.contains("target-cpu="))
518518
.and_then(|f| f.split("target-cpu=").nth(1))
519519
.map(|s| s.to_string())
520520
});

0 commit comments

Comments
 (0)