diff --git a/{{project-name}}-ebpf/rust-toolchain.toml b/{{project-name}}-ebpf/rust-toolchain.toml index e5df491..4893202 100644 --- a/{{project-name}}-ebpf/rust-toolchain.toml +++ b/{{project-name}}-ebpf/rust-toolchain.toml @@ -1,3 +1,5 @@ [toolchain] channel="nightly-2023-01-10" +# The source code of rustc, provided by the rust-src component, is needed for +# building eBPF programs. components = [ "rustc", "rust-std", "cargo", "rust-docs", "rustfmt", "clippy", "rust-src" ]