Skip to content

Commit

Permalink
Merge pull request #93 from oli-obk/run-dep
Browse files Browse the repository at this point in the history
Expose dependency building to users
  • Loading branch information
oli-obk authored Jul 6, 2023
2 parents 4fa05d7 + 9eebf80 commit cc429d4
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
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.11.6"
version = "0.11.7"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A test framework for testing rustc diagnostics output"
Expand Down
4 changes: 3 additions & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ impl Config {
.push((Regex::new(pattern).unwrap().into(), replacement.as_ref()));
}

pub(crate) fn build_dependencies_and_link_them(&mut self) -> Result<()> {
/// Compile dependencies and make sure `Config::program` contains the right flags
/// to find the dependencies.
pub fn build_dependencies_and_link_them(&mut self) -> Result<()> {
let dependencies = build_dependencies(self)?;
for (name, artifacts) in dependencies.dependencies {
for dependency in artifacts {
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.

0 comments on commit cc429d4

Please sign in to comment.