All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Text::diff()
creates a text status emitter that does not do full dumps of test stderr/stdout, but only emits the diff of the changes
- Split up
Revisioned::mode
intoRevisioned::exit_status
andRevisioned::require_annotations
Config::output_conflict_handling
is nowError
instead ofBless
Config::custom_comments
Revisioned::custom
Flag
trait for custom//@
flagsBuild
trait for custom aux/dep buildBuildManager
for deduplicating these builds on a per-Config
basis
- folders and libraries linked by build scripts were ignored, causing linker failures
- removed
Revisioned::no_rustfix
in favor of turning that into a rustc-specific custom flag- use
config.comment_defaults.base().set_custom("rustfix", RustFixMode::Everything);
to overwrite theMachineApplicable
default
- use
- removed
Revisioned::edition
in favor of turning that into a rustc-specific custom flag - removed
Revisioned::needs_asm_support
in favor of turning that into a rustc-specific custom flag - replaced
Mode::Run
with a rustc-specific run flag - replaced rustfix with a rustc-specific rustfix flag
- replaced
rustfix
fields ofMode::Fail
andMode::Yolo
by instead overwriting the rustc-specific custom flag - aux builds and dependencies are now built per
Config
instead of being built just for the firstConfig
and the result shared by the others- the configs could be different enough that aux builds built with a different config are incompatible (e.g. different targets).
- replaced
Revisioned::aux_builds
with a rustc-specific custom flag - replaced
dependency_builder
anddependency_manifest_path
withDependencyBuilder
Flag
that you an add to the default comments.- use
config.comment_defaults.base().set_custom("dependencies", DependencyBuilder::default());
to get the same behaviour as settingConfig.toml
as thedependency_manifest_path
.
- use
- updated
rustfix
from 0.6.1 to 0.8.1. This may cause additional suggestions to be applied that previously weren't.
- Reexporting
eyre::Result
at the root level
- Passing
--target
to build command when cross-compiling.
spanned
dependency bump to lowerbstr
to1.6.0
to resolve windows linker issues with1.7
- Add
//~v
comments to put an error matcher above the error site.
- Give aux builds the default comment config, too
- Started maintaining a changelog
Config::comment_defaults
allows setting//@
comments for all tests//~
comments can now specify just an error code or lint name, without any message. ERROR level is impliedRevisioned::diagnostic_code_prefix
allows stripping a prefix of diagnostic codes to avoid having to repeatclippy::
in all messages
- report an error instead of panicking when encountering a suggestion that does not belong to the main file.
- number of filtered tests is now > 0 when things actually got filtered.
- crate-private span handling was passed off to the
spanned
crate, improving some diagnostics along the way. Config::output_conflict_handling
does not contain the bless command message anymore, it is instead available separately asConfig::bless_command
- Updating
cargo_metadata
to0.18
- Updated
spanned
to0.1.5
, giving more precise spans for more iterator operations Config::cfgs
is nowConfig::program::cfg_flag
- Bumped
annotate-snippets
to0.10
$DIR
andRUSTLIB
replacementsConfig::edition
(replaced byconfig.comment_defaults.base().edition
)Config::filter_stdout
(replaced byconfig.comment_defaults.base().normalize_stdout
)Config::filter_stderr
(replaced byconfig.comment_defaults.base().normalize_stderr
)Config::mode
(replaced byconfig.comment_defaults.base().mode
)