Skip to content

Commit

Permalink
add support for i586 targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Sep 11, 2016
1 parent b7e6a3b commit 723f739
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,9 @@ 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") || target.starts_with("i386") {
} else if target.starts_with("i386") ||
target.starts_with("i586") ||
target.starts_with("i686") {
("x86", "32")
} else if target.starts_with("arm") {
("arm", "32")
Expand Down

0 comments on commit 723f739

Please sign in to comment.