shenango / caladan

Interference-aware CPU scheduling that enables performance isolation and high CPU utilization for datacenter servers
Apache License 2.0
136 stars 56 forks source link

Pass linker script argument to rustc via build.rs rather than .cargo/config #16

Closed akshayknarayan closed 1 year ago

akshayknarayan commented 1 year ago

Not using .cargo/config to pass flags to rustc is useful because build.rs can read feature flags while .cargo/config cannot. Also, the new method uses absolute rather than relative paths since build.rs can query env vars, which makes submoduling this repo easier.

I also bumped the rust-bindgen dependency version - a bug that generated unaligned references (UB in rust) has been fixed.