Don't use string == in x86.rs, doesn't work.
This commit is contained in:
parent
cb254f3558
commit
e5229b97d7
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ fn get_module_asm() -> str {
|
|||
auto align = 4;
|
||||
|
||||
auto prefix = "";
|
||||
if (target_os() == "macos") {
|
||||
if (_str.eq(target_os(), "macos")) {
|
||||
prefix = "_";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue