integration-ebpf: add cargo config

Same reasoning as the one in bpf.
reviewable/pr677/r8
Tamir Duberstein 1 year ago
parent 025c76780c
commit 0168396604
No known key found for this signature in database

@ -6,7 +6,7 @@
# ignored if you run from the workspace root. See # ignored if you run from the workspace root. See
# https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure # https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure
[build] [build]
target = "bpfel-unknown-none" target = ["bpfeb-unknown-none", "bpfel-unknown-none"]
[unstable] [unstable]
build-std = ["core"] build-std = ["core"]

@ -0,0 +1,12 @@
# We have this so that one doesn't need to manually pass
# --target=bpfel-unknown-none -Z build-std=core when running cargo
# check/build/doc etc.
#
# NB: this file gets loaded only if you run cargo from this directory, it's
# ignored if you run from the workspace root. See
# https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure
[build]
target = ["bpfeb-unknown-none", "bpfel-unknown-none"]
[unstable]
build-std = ["core"]
Loading…
Cancel
Save