Skip to content

Commit

Permalink
Improve error message when target pointer width is not supported.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebarnard committed Dec 2, 2017
1 parent 3921150 commit ec86a22
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions osqp-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ fn main() {
"64" => {
println!(r#"cargo:rustc-cfg=feature="osqp_dlong""#);
"ON"
},
}
"32" => "OFF",
other => panic!("{} bit targets are currently unsupported. please file a bug.", other),
other => panic!(
"{} bit targets are not supported. If you want this feature please file a bug.",
other
),
};

// TODO: Figure out the story around cmake and cross-compilation
Expand Down

0 comments on commit ec86a22

Please sign in to comment.