Skip to content

Running Miri on Playground does not error when printing non-UTF-8 output #1309

Closed
@elichai

Description

@elichai

So it seems that somehow miri bypasses the the check for UTF8 validity when printing a str

https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=393c2e1fe450d4a03e7a1d293d54d04e

It's a bit too late here for me to debug where it's happening in libstd right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-supportCategory: Not necessarily a bug, but someone asking for support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions