aya-rs / aya

Aya is an eBPF library for the Rust programming language, built with a focus on developer experience and operability.
https://aya-rs.dev/book/
Apache License 2.0
3.25k stars 290 forks source link

fix(aya-log): print &[u8] using full width #1008

Closed GrigorenkoPV closed 1 month ago

GrigorenkoPV commented 3 months ago

Otherwise you cannot distinguish &[1u8, 0u8] from &[0x10u8] (they both become 10)

netlify[bot] commented 3 months ago

Deploy Preview for aya-rs-docs ready!

Built without sensitive environment variables

Name Link
Latest commit 458e641510580135992a5bd12f907086c99230bf
Latest deploy log https://app.netlify.com/sites/aya-rs-docs/deploys/66fd8d93f1e578000853f7fd
Deploy Preview https://deploy-preview-1008--aya-rs-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

GrigorenkoPV commented 2 months ago

I've done what https://github.com/aya-rs/aya/pull/1008#discussion_r1741361311 suggested and added a test as well

tamird commented 1 month ago

Rebased this with regenerated API. @alessandrod does this require further changes?