We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86aa192 commit 9d6d0b7Copy full SHA for 9d6d0b7
build.rs
@@ -34,7 +34,7 @@ fn main() {
34
}
35
36
// These targets have hardware unaligned access support.
37
- if target.contains("x86_64") || target.contains("i686") || target.contains("aarch64") {
+ if target.contains("x86_64") || target.contains("i686") || target.contains("aarch64") || target.contains("bpf") {
38
println!("cargo:rustc-cfg=feature=\"mem-unaligned\"");
39
40
0 commit comments