Skip to content

Commit d0bb6b4

Browse files
committed
build(musl): disable xdp binary for now
1 parent a48676c commit d0bb6b4

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
8686
name = "rattan"
8787
path = "src/main.rs"
8888

89-
[[bin]]
90-
name = "rattan-xdp"
91-
path = "src/main-xdp.rs"
92-
required-features = ["rattan-core/xdp"]
89+
# [[bin]]
90+
# name = "rattan-xdp"
91+
# path = "src/main-xdp.rs"
92+
# required-features = ["xdp"]
9393

9494
[dependencies]
9595
# anyhow = "1.0.75"
@@ -130,6 +130,7 @@ first-packet = ["rattan-core/first-packet"]
130130
http = ["rattan-core/http"]
131131
nat = ["dep:mnl", "dep:nftnl"]
132132
packet-dump = ["rattan-core/packet-dump"]
133+
xdp = ["rattan-core/xdp"]
133134

134135
# required for cargo flamegraph
135136
[profile.dev]

dist-workspace.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ installers = []
1212
# Target platforms to build apps for (Rust target-triple syntax)
1313
targets = ["x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl"]
1414
# Specify feature-flags that should be passed to a Cargo package when building it
15-
features = ["xdp"]
15+
# features = ["xdp"]
1616
# Which actions to run on pull requests
1717
pr-run-mode = "plan"
1818
# Whether to install an updater program
@@ -40,6 +40,8 @@ autoconf = "*"
4040
automake = "*"
4141
autopoint = "*"
4242
libtool = "*"
43+
musl-tools = "*"
44+
libargs-dev = "*"
4345

4446
[dist.github-custom-runners]
4547
global = "ubuntu-latest"

0 commit comments

Comments
 (0)