Skip to content

Commit

Permalink
Merge pull request #270 from oli-obk/more_miri_stuff
Browse files Browse the repository at this point in the history
Make more things public for miri
  • Loading branch information
oli-obk authored Sep 8, 2024
2 parents 1422fee + d3a4e52 commit ae2726d
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 ae2726d

Please sign in to comment.