On Tue, Jul 9, 2013 at 5:21 AM, Fredrik Håård <fred...@haard.se> wrote:
> I'm trying to migrate to 0.7, and failing - I was using
> unicode::general_category::Cc, but since updating I cannot seem to
> find it in the docs (may very well be user error), and linking fails.
>
> Any hint's on what I should do instead?
>
> The offending code is
>
> if unicode::general_category::Cc(astr.char_at(0)) {
>    ...
> }
>
> And the output from rustc:
> --------------
>
> [snip]

That's quite odd. The function is still there, but rustc should never
generate a failure in the linker like that for "pure" Rust code.
"Undefined symbols for architecture x86_64" makes me think you might
have 32-bit libraries installed?
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to