Skip to content

Conversation

qmonnet
Copy link
Owner

@qmonnet qmonnet commented Jun 4, 2025

Replace a non-breaking space (U+C2A0) with a normal space in the README.md. This non-ASCII character coming right after a preformatted argument name apparently cause rustc to panic:

$ cargo +nightly clippy --all-features
[...]

thread 'rustc' panicked at compiler/rustc_resolve/src/rustdoc.rs:573:52:
byte index 7115 is not a char boundary; it is inside '\u{a0}' (bytes 7114..7116) of `# rbpf

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="misc/rbpf_256_border.png">
  <img src="misc/rbpf_256.png">
</picture>

Rust (user-space) virtual machine for eBPF

[![Build Status](https://github.com/qmonnet/rbpf/actions/workflows/t`[...]
stack backtrace:

[...]

error: the compiler unexpectedly panicked. this is a bug.
[...]

Link: https://github.com/qmonnet/rbpf/actions/runs/15249809389/job/42949036444?pr=125

Replace a non-breaking space (U+C2A0) with a normal space in the
README.md. This non-ASCII character coming right after a preformatted
argument name apparently cause rustc to panic:

    $ cargo +nightly clippy --all-features
    [...]

    thread 'rustc' panicked at compiler/rustc_resolve/src/rustdoc.rs:573:52:
    byte index 7115 is not a char boundary; it is inside '\u{a0}' (bytes 7114..7116) of `# rbpf

    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="misc/rbpf_256_border.png">
      <img src="misc/rbpf_256.png">
    </picture>

    Rust (user-space) virtual machine for eBPF

    [![Build Status](https://github.com/qmonnet/rbpf/actions/workflows/t`[...]
    stack backtrace:

    [...]

    error: the compiler unexpectedly panicked. this is a bug.
    [...]

Link: https://github.com/qmonnet/rbpf/actions/runs/15249809389/job/42949036444?pr=125
Signed-off-by: Quentin Monnet <qmo@qmon.net>
@qmonnet qmonnet force-pushed the pr/readme-fix-space branch from 2ecc309 to 6f04099 Compare June 4, 2025 01:39
@qmonnet qmonnet changed the title README.md: Fix space (non-breakable space) README.md: Fix space (non-breaking space) Jun 4, 2025
@qmonnet qmonnet merged commit 66a6326 into main Jun 4, 2025
6 of 7 checks passed
@qmonnet qmonnet deleted the pr/readme-fix-space branch June 4, 2025 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant