risinglightdb / sqllogictest-rs

Sqllogictest parser and runner in Rust.
Apache License 2.0
167 stars 42 forks source link

fix error context display & update release workflow #190

Closed xxchan closed 10 months ago

xxchan commented 10 months ago

revert #189. Error context is printed only for {:?}.

For backtrace, according to anyhow's doc,

If using the nightly channel, or stable with features = ["backtrace"], a backtrace is captured and printed with the error if the underlying error type does not already provide its own. In order to see backtraces, they must be enabled through the environment variables described in std::backtrace

So we can either: ship pre-built binary which is built by stable or unset RUST_BACKTRACE to hide backtrace.


Also update release workflow close https://github.com/risinglightdb/sqllogictest-rs/issues/182

xxchan commented 10 months ago

Looks good

image
xxchan commented 10 months ago

It can be installed by cargo-binstall now