mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00

Bump the minimum required version of the Rust toolchain to the current stable release so we can take advantage of new features. Highlights of the 1.19.0 release: * C-compatible `union` (untagged enums). * Support for Visual Studio 2017. * Non-capturing closures can be coerced to `fn` bindings. * Numeric field names in tuple struct initializers. * Higher macro recursion limit. * `break` can return a value from `loop` expressions. * Better error handling with mis-configured Visual Studio environments. This change also enables 1.18.0 features. Some highlights: * `pub(mod)` &c. for better control of symbol visibility. * struct packing for better memory footprint in generated code. * Faster build times. MozReview-Commit-ID: 2OpUjAcytpE --HG-- extra : rebase_source : 2ed0d7c4e7b78c26f7a7476e7b284bf1bdbe7c8b