It's still there, but it is no longer public. I'm surprised you didn't get an error sooner than link time.
On Tue, Jul 9, 2013 at 3:45 AM, Corey Richardson <[email protected]> wrote: > On Tue, Jul 9, 2013 at 5:21 AM, Fredrik Håård <[email protected]> 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 > [email protected] > https://mail.mozilla.org/listinfo/rust-dev _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
