Don't use string == in x86.rs, doesn't work.
This commit is contained in:
parent
cb254f3558
commit
e5229b97d7
@ -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…
Reference in New Issue
Block a user