rust/mk
Jakub Bukaj f71b852d38 rollup merge of #19103: huonw/literal-suffixes
Futureproof Rust for fancier suffixed literals. The Rust compiler tokenises a literal followed immediately (no whitespace) by an identifier as a single token: (for example) the text sequences `"foo"bar`, `1baz` and `1u1024` are now a single token rather than the pairs `"foo"` `bar`, `1` `baz` and `1u` `1024` respectively.

The compiler rejects all such suffixes in the parser, except for the 12 numeric suffixes we have now.

I'm fairly sure this will affect very few programs, since it's not currently legal to have `<literal><identifier>` in a Rust program, except in a macro invocation. Any macro invocation relying on this behaviour can simply separate the two tokens with whitespace: `foo!("bar"baz)` becomes `foo!("bar" baz)`.

This implements [RFC 463](https://github.com/rust-lang/rfcs/blob/master/text/0463-future-proof-literal-suffixes.md), and so closes https://github.com/rust-lang/rust/issues/19088.
2014-11-19 22:41:05 +01:00
..
cfg CFG_CFLAGS is only used for jemalloc, rename all uses to CFG_JEMALLOC_CFLAGS 2014-11-17 16:41:09 -05:00
clean.mk mk: Add space before line continuation backslash 2014-07-23 08:44:11 -07:00
crates.mk Move trans, back, driver, and back into a new crate, rustc_trans. Reduces memory usage significantly and opens opportunities for more parallel compilation. 2014-11-18 07:32:43 -05:00
ctags.mk Fix `make TAGS.vi` target 2014-10-02 03:34:14 +02:00
dist.mk Attempt to fix the problem with failing distcheck. 2014-11-10 21:05:34 +00:00
docs.mk New guide: error handling 2014-11-18 12:56:55 -05:00
grammar.mk Update makefiles to ensure src/grammar/verify.rs is built. 2014-11-19 13:12:05 +11:00
host.mk mk: Add space before line continuation backslash 2014-07-23 08:44:11 -07:00
install.mk Avoid building as root with `sudo make install` 2014-09-04 22:18:19 -07:00
llvm.mk mk: Clean just one llvm build at a time. Closes #17852 2014-10-29 19:54:52 -07:00
main.mk mk: Fix configuration of version commit information 2014-11-10 14:57:21 -08:00
perf.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
platform.mk split platform definitions out of mk/platform.mk 2014-10-25 21:01:18 -04:00
prepare.mk mk: Add space before line continuation backslash 2014-07-23 08:44:11 -07:00
reconfig.mk Correct building documenation with Pandoc and TeX on Windows. 2014-11-06 18:08:33 +03:00
rt.mk mk/rt/jemalloc: pass CFG_GCCISH_CFLAGS inside CC instead of passing CFG_CFLAGS in EXTRA_CFLAGS 2014-11-17 16:41:15 -05:00
rustllvm.mk Remove VPATH usage in Makefiles 2014-02-02 10:59:14 -08:00
snap.mk mk: Remove extra whitespace before line continuation backslashes 2014-07-23 08:41:55 -07:00
stage0.mk mk: Fix a minor makefile warning on windows 2014-09-24 17:46:36 -07:00
target.mk rustc: Default to static linking dylibs 2014-11-03 15:08:20 -08:00
tests.mk Update makefiles to ensure src/grammar/verify.rs is built. 2014-11-19 13:12:05 +11:00
util.mk mk: Address review feedback 2014-02-14 19:17:50 -08:00