diff options
| author | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-06-09 16:27:15 +0000 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-06-11 21:31:08 +0000 |
| commit | 5b126ed35857154274fe7f2e69c19b7c74a5fc30 (patch) | |
| tree | cd29b20e5b8982fac53c8dbb7db261d1c986051c /src | |
| parent | f6ab5e997cc8afa1d4a2910ab5db0e529e773fbc (diff) | |
| download | rust-5b126ed35857154274fe7f2e69c19b7c74a5fc30.tar.gz rust-5b126ed35857154274fe7f2e69c19b7c74a5fc30.zip | |
run-make-support: update changelog
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/run-make-support/CHANGELOG.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tools/run-make-support/CHANGELOG.md b/src/tools/run-make-support/CHANGELOG.md index a37de9fda80..c1b7b618a92 100644 --- a/src/tools/run-make-support/CHANGELOG.md +++ b/src/tools/run-make-support/CHANGELOG.md @@ -10,6 +10,22 @@ changes to the support library). This support library will probably never reach 1.0. Please bump the minor version in `Cargo.toml` if you make any breaking changes or other significant changes, or bump the patch version for bug fixes. +## [0.2.0] - 2024-06-11 + +### Added + +- Added `fs_wrapper` module which provides panic-on-fail helpers for their respective `std::fs` + counterparts, the motivation is to: + - Reduce littering `.unwrap()` or `.expect()` everywhere for fs operations + - Help the test writer avoid forgetting to check fs results (even though enforced by + `-Dunused_must_use`) + - Provide better panic messages by default +- Added `path()` helper which creates a `Path` relative to `cwd()` (but is less noisy). + +### Changed + +- Marked many functions with `#[must_use]`, and rmake.rs are now compiled with `-Dunused_must_use`. + ## [0.1.0] - 2024-06-09 ### Changed |
