mirror of
https://github.com/eyre-rs/eyre.git
synced 2025-09-30 06:21:52 +00:00
Merge branch 'master' into pavan/simple-eyre
This commit is contained in:
commit
9c7f5e38b9
@ -124,6 +124,8 @@ fn test_panic_backwards_compatibility() {
|
|||||||
.args(["run", "--example", "theme_test_helper"])
|
.args(["run", "--example", "theme_test_helper"])
|
||||||
.arg("--no-default-features")
|
.arg("--no-default-features")
|
||||||
.args(&features)
|
.args(&features)
|
||||||
|
.env("RUSTFLAGS", "-Awarnings")
|
||||||
|
.env("CARGO_FUTURE_INCOMPAT_REPORT_FREQUENCY", "never")
|
||||||
.output()
|
.output()
|
||||||
.expect("failed to execute process");
|
.expect("failed to execute process");
|
||||||
let target = String::from_utf8(output.stderr).expect("failed to convert output to `String`");
|
let target = String::from_utf8(output.stderr).expect("failed to convert output to `String`");
|
||||||
@ -168,7 +170,7 @@ fn test_backwards_compatibility(target: String, file_name: &str) {
|
|||||||
fn normalize_backtrace(input: &str) -> String {
|
fn normalize_backtrace(input: &str) -> String {
|
||||||
input
|
input
|
||||||
.lines()
|
.lines()
|
||||||
.take_while(|v| !v.contains("core::panic"))
|
.take_while(|v| !v.contains("core::panic") && !v.contains("theme_test_helper::main"))
|
||||||
.collect::<Vec<_>>()
|
.collect::<Vec<_>>()
|
||||||
.join("\n")
|
.join("\n")
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@ pyo3 = { version = "0.20", optional = true, default-features = false }
|
|||||||
futures = { version = "0.3", default-features = false }
|
futures = { version = "0.3", default-features = false }
|
||||||
rustversion = "1.0"
|
rustversion = "1.0"
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
trybuild = { version = "1.0.19", features = ["diff"] }
|
trybuild = { version = "=1.0.83", features = ["diff"] }
|
||||||
backtrace = "0.3.46"
|
backtrace = "0.3.46"
|
||||||
anyhow = "1.0.28"
|
anyhow = "1.0.28"
|
||||||
syn = { version = "2.0", features = ["full"] }
|
syn = { version = "2.0", features = ["full"] }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user