diff options
| author | Graydon Hoare <[email protected]> | 2010-10-22 17:27:22 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-10-22 17:27:22 -0700 |
| commit | e5229b97d73a462b26dbb0d4f94030b41a3cb922 (patch) | |
| tree | bd5f8cc8aa820c77ec1fe7aa6c71fcf20b6c9e18 /src | |
| parent | Merge branch 'master' of github.com:graydon/rust (diff) | |
| download | rust-e5229b97d73a462b26dbb0d4f94030b41a3cb922.tar.xz rust-e5229b97d73a462b26dbb0d4f94030b41a3cb922.zip | |
Don't use string == in x86.rs, doesn't work.
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp/back/x86.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/back/x86.rs b/src/comp/back/x86.rs index 86631e93..0a5fc506 100644 --- a/src/comp/back/x86.rs +++ b/src/comp/back/x86.rs @@ -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 = "_"; } |