Skip to content

Commit

Permalink
Make more things public for miri
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Sep 8, 2024
1 parent 1422fee commit d3a4e52
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 10 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

* Made more code public for miri to use

### Removed

## [0.26.3] - 2024-09-08

### Added

### Fixed

### Changed

### Removed

## [0.26.2] - 2024-09-08
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ui_test"
version = "0.26.2"
version = "0.26.3"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A test framework for testing rustc diagnostics output"
Expand Down
7 changes: 6 additions & 1 deletion src/per_test_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,12 @@ impl TestConfig {
self.comments().flat_map(f).collect()
}

fn apply_custom(&self, cmd: &mut Command, build_manager: &BuildManager) -> Result<(), Errored> {
/// Apply custom flags (aux builds, dependencies, ...)
pub fn apply_custom(
&self,
cmd: &mut Command,
build_manager: &BuildManager,
) -> Result<(), Errored> {
let mut all = BTreeMap::new();
for rev in self.comments.for_revision(self.status.revision()) {
for (&k, flags) in &rev.custom {
Expand Down
2 changes: 1 addition & 1 deletion tests/integrations/basic-bin/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/integrations/basic-fail-mode/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/integrations/basic-fail/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/integrations/basic/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/integrations/cargo-run/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/integrations/dep-fail/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/integrations/ui_test_dep_bug/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d3a4e52

Please sign in to comment.