From 3fdfd8b2004489f90851eb58329b9a7268fd6e00 Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Tue, 24 Jan 2023 17:31:00 +0800 Subject: [PATCH] rust-toolchain: Add a comment about rust-src Signed-off-by: Michal Rostecki --- {{project-name}}-ebpf/rust-toolchain.toml | 2 ++ 1 file changed, 2 insertions(+) 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" ]