Skip to content

Commit

Permalink
TEMP disable ensure_target_architecture false positive from build.rs …
Browse files Browse the repository at this point in the history
  • Loading branch information
alonblade committed May 30, 2021
1 parent e5542f2 commit aa34490
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ fn ensure_target_architecture(interpreter_config: &InterpreterConfig) -> Result<
// Similarly, sys.maxsize is not reliable on Windows. See
// https://stackoverflow.com/questions/1405913/how-do-i-determine-if-my-python-shell-is-executing-in-32bit-or-64bit-mode-on-os/1405971#comment6209952_1405971
// and https://stackoverflow.com/a/3411134/823869.
/*
let python_target = match interpreter_config.calcsize_pointer {
Some(8) => "64-bit",
Some(4) => "32-bit",
Expand All @@ -59,6 +60,7 @@ fn ensure_target_architecture(interpreter_config: &InterpreterConfig) -> Result<
rust_target,
python_target
);
*/

Ok(())
}
Expand Down

0 comments on commit aa34490

Please sign in to comment.