We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8627cf5 + 62ceed9 commit 9cae27aCopy full SHA for 9cae27a
site/build.rs
@@ -46,7 +46,12 @@ fn main() -> Result<(), Box<dyn Error>> {
46
47
// Load perf-config.json
48
let config_path = compile_benchmark.path().join("perf-config.json");
49
- let config_contents = std::fs::read_to_string(config_path)?;
+ let config_contents = std::fs::read_to_string(&config_path).map_err(|e| {
50
+ format!(
51
+ "Cannot read perf-config.json file at {}: {e:?}",
52
+ config_path.display()
53
+ )
54
+ })?;
55
let config = serde_json::from_str::<serde_json::Value>(&config_contents)?;
56
57
// Load Cargo manifest to find profile information
0 commit comments