aya-rs / aya-template

A cargo-generate template for Rust eBPF Projects using Aya
81 stars 41 forks source link

Replace xtask builds with build scripts #124

Closed tamird closed 4 weeks ago

tamird commented 4 weeks ago

See individual commits.

Closes #22. Closes #58. Closes #96. Closes #110.

tamird commented 4 weeks ago

This might be something unique to my environment, but I'd like to be sure before we merge it. You should be able to reproduce with:

cargo generate -g https://github.com/aya-rs/aya-template -b build-script-hotness

is that the invocation you used? Doesn't that pull this repo at HEAD rather than this PR?

tamird commented 4 weeks ago

Ah, I think you are running into this caveat because we're now building anyhow with no_std and you must be using Rust < 1.81.

tamird commented 4 weeks ago

Should work for you now