diff options
| author | bit-aloo <sshourya17@gmail.com> | 2025-09-16 21:18:35 +0530 |
|---|---|---|
| committer | bit-aloo <sshourya17@gmail.com> | 2025-09-21 20:56:10 +0530 |
| commit | ce4604e34e6f29740b41306806c6bd7947e103a4 (patch) | |
| tree | 2ddce1cdd25a157d2b4644bb19da3d1b90164402 | |
| parent | d488d33fd6f7d4832cab12d0dece896bf1b975c0 (diff) | |
| download | rust-ce4604e34e6f29740b41306806c6bd7947e103a4.tar.gz rust-ce4604e34e6f29740b41306806c6bd7947e103a4.zip | |
remove using default toml config for test in get_toml, we handle it via using the temp directory created via the testCtx
| -rw-r--r-- | src/bootstrap/src/core/config/toml/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bootstrap/src/core/config/toml/mod.rs b/src/bootstrap/src/core/config/toml/mod.rs index 7af22432ef8..f6dc5b67e10 100644 --- a/src/bootstrap/src/core/config/toml/mod.rs +++ b/src/bootstrap/src/core/config/toml/mod.rs @@ -152,10 +152,6 @@ impl Config { } pub(crate) fn get_toml(file: &Path) -> Result<TomlConfig, toml::de::Error> { - #[cfg(test)] - return Ok(TomlConfig::default()); - - #[cfg(not(test))] Self::get_toml_inner(file) } |
