Skip to content

Commit

Permalink
Merge pull request #2296 from davidhewitt/print-config-note
Browse files Browse the repository at this point in the history
build: add hint when PYO3_PRINT_CONFIG is set
  • Loading branch information
davidhewitt committed Apr 12, 2022
2 parents fe4edd1 + b35fed0 commit cb48557
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyo3-ffi/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ fn print_config_and_exit(config: &InterpreterConfig) {
config
.to_writer(&mut std::io::stdout())
.expect("failed to print config to stdout");
println!("\nnote: unset the PYO3_PRINT_CONFIG environment variable and retry to compile with the above config");
std::process::exit(101);
}

Expand Down

0 comments on commit cb48557

Please sign in to comment.