Skip to content

Commit 01eb3fc

Browse files
atheiiulianbarbu
authored andcommitted
Rename to _Cargo.toml to suppress build errors
1 parent ed8c0eb commit 01eb3fc

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

substrate/frame/revive/fixtures/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ fn create_cargo_toml<'a>(
8282
entries: impl Iterator<Item = &'a Entry>,
8383
output_dir: &Path,
8484
) -> Result<()> {
85-
let mut cargo_toml: toml::Value = toml::from_str(include_str!("./build/Cargo.toml"))?;
85+
let mut cargo_toml: toml::Value = toml::from_str(include_str!("./build/_Cargo.toml"))?;
8686
let mut set_dep = |name, path| -> Result<()> {
8787
cargo_toml["dependencies"][name]["path"] = toml::Value::String(
8888
fixtures_dir.join(path).canonicalize()?.to_str().unwrap().to_string(),

0 commit comments

Comments
 (0)