scx_mitosis/bpf_skel.rs
1// Copyright (c) Meta Platforms, Inc. and affiliates.
2
3// This software may be used and distributed according to the terms of the
4// GNU General Public License version 2.
5
6// We can't directly include the generated skeleton in main.rs as it may
7// contain compiler attributes that can't be `include!()`ed via macro and we
8// can't use the `#[path = "..."]` because `concat!(env!("OUT_DIR"),
9// "/bpf.skel.rs")` does not work inside the path attribute yet (see
10// https://github.com/rust-lang/rust/pull/83366).
11
12include!(concat!(env!("OUT_DIR"), "/bpf_skel.rs"));