Skip to content

Commit

Permalink
Detect i386 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Sep 20, 2015
1 parent 43ba64e commit 45136e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
let mut ret = Vec::new();
let (arch, width) = if target.starts_with("x86_64") {
("x86_64", "64")
} else if target.starts_with("i686") {
} else if target.starts_with("i686") || target.starts_with("i386") {
("x86", "32")
} else if target.starts_with("arm") {
("arm", "32")
Expand Down

0 comments on commit 45136e5

Please sign in to comment.