]> git.lizzy.rs Git - rust.git/commit
unicode: Make statics legal
authorAlex Crichton <alex@alexcrichton.com>
Mon, 6 Oct 2014 23:14:38 +0000 (16:14 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 9 Oct 2014 16:44:51 +0000 (09:44 -0700)
commit34d66de52a8338b0fd1f1d4842916bc37cc81f75
treea2abb67b629088964cccc71948567fb2a03dee7c
parent1a433770e3141c476a7ac5b12cfdc15be022073e
unicode: Make statics legal

The tables in libunicode are far too large to want to be inlined into any other
program, so these tables are all going to remain `static`. For them to be legal,
they cannot reference one another by value, but instead use references now.

This commit also modifies the src/etc/unicode.py script to generate the right
tables.
src/etc/unicode.py
src/libunicode/normalize.rs
src/libunicode/tables.rs