scx_rustland_core: move includes back to the lib section

Move included artifacts in the lib section (without this change we can't
publish the crate on crates.io).

Fixes: 082bccb ("fix/enable rust tests, make build faster")
Signed-off-by: Andrea Righi <andrea.righi@linux.dev>
This commit is contained in:
Andrea Righi 2024-09-07 19:30:59 +02:00
parent 155a10d373
commit 1e26cb91f1

View File

@ -6,11 +6,6 @@ authors = ["Andrea Righi <andrea.righi@linux.dev>"]
license = "GPL-2.0-only"
repository = "https://github.com/sched-ext/scx"
description = "Framework to implement sched_ext schedulers running in user space"
include = [
"assets/bpf/intf.h",
"assets/bpf/main.bpf.c",
"assets/bpf.rs",
]
[dependencies]
anyhow = "1.0.65"
@ -27,4 +22,9 @@ scx_utils = { path = "../scx_utils", version = "1.0.4" }
[lib]
name = "scx_rustland_core"
path = "src/lib.rs"
include = [
"assets/bpf/intf.h",
"assets/bpf/main.bpf.c",
"assets/bpf.rs",
]