-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With miri errors are not highlighted #251
Comments
I don't reproduce this. What version of bacon are you using ? Can you provide a minimal project for reproduction ? I mean: warnings and errors aren't recognized as such, because there's no miri analyzer yet, but there's color. |
Steps to reproduce: $ cargo new bacon_miri
Creating binary (application) `bacon_miri` package
note: see more `Cargo.toml` keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
$ cd bacon_miri/
$ echo 'fn main() {
unsafe {
*(0xdeadbeef as *mut i32) = 42;
}
}
' > src/main.rs
$ echo '[jobs.miri]
command = ["cargo", "miri", "run", "--color", "always"]
need_stdout = true
allow_warnings = true
' > bacon.toml
$ bacon --version
bacon 3.2.0
Terminal: alacritty Note: those |
I cloned upstream (f552bc2), everything is the same: |
This is weird, it looks like miri doesn't always (but sometimes do) respect the You can try |
Yeah, it is exactly like that
|
Should this issue be closed? |
no |
I don't really see a way for bacon to restore the missing colors, but there could be a toggle (or a "miri" analyzer) a little more lenient in its parsing an recognizing errors and warnings without styling. This would allow bacon to recognize items, make the locations export work, etc. |
Hello, which that conf added:
bacon looks like this:
This is output if command is run directly:
The text was updated successfully, but these errors were encountered: