rustc: Stop calling cmp shape glue in trans.
XFAIL's alt-borrowed_str for now. Will need to fix this up in the future.
This commit is contained in:
parent
cb7a5395dd
commit
2aa67e9aa9
7 changed files with 47 additions and 10 deletions
|
@ -747,6 +747,13 @@ pure fn eq_slice(a: &str, b: &str) -> bool {
|
|||
}
|
||||
|
||||
/// Bytewise string equality
|
||||
#[cfg(notest)]
|
||||
#[lang="uniq_str_eq"]
|
||||
pure fn eq(a: &~str, b: &~str) -> bool {
|
||||
eq_slice(*a, *b)
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pure fn eq(a: &~str, b: &~str) -> bool {
|
||||
eq_slice(*a, *b)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue