aya-rs / aya-template

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

ebpf: Always use `release` profile #96

Closed vadorovsky closed 4 weeks ago

vadorovsky commented 1 year ago

Using dev profile, even after tuning flags (to make it identical with release) still causes problems and is confusing for people.

And even when we have BTF support in future, it'd be better and less confusing to set debug=2 in release profile (because we would want debug info, but still keep the same opt-level and other options).

QuarticCat commented 3 months ago

Any update? This looks good to me.

tamird commented 4 weeks ago

This shouldn't be needed after #123 which exercises both dev and release builds in CI.

tamird commented 4 weeks ago

This will be closed by #124.