about summary refs log tree commit diff
path: root/src/test/compile-fail/syntax-extension-fourcc-bad-len.rs
AgeCommit message (Collapse)AuthorLines
2014-04-28test: Add a compile-fail-fulldeps test suiteAlex Crichton-22/+0
Compile-fail tests for syntax extensions belong in this suite which has correct dependencies on all artifacts rather than just the target artifacts. Closes #13818
2014-04-23Enable use of syntax extensions when cross compiling.Douglas Young-1/+0
This adds the target triple to the crate metadata. When searching for a crate the phase (link, syntax) is taken into account. During link phase only crates matching the target triple are considered. During syntax phase, either the target or host triple will be accepted, unless the crate defines a macro_registrar, in which case only the host triple will match.
2014-03-28Convert most code to new inner attribute syntax.Brian Anderson-1/+1
Closes #2569
2014-02-14extern mod => extern crateAlex Crichton-1/+1
This was previously implemented, and it just needed a snapshot to go through
2014-02-11Add ignore-cross-compile directive for compiletestAlex Crichton-1/+1
Loadable syntax extensions don't work when cross compiling (see #12102), so the fourcc tests all need to be ignored. They're valuable tests, so they shouldn't be outright ignored, so they're now flagged with ignore-cross-compile
2014-02-11Change `xfail` directives in compiletests to `ignore`, closes #11363Florian Hahn-4/+4
2014-02-08Converted fourcc! to loadable syntax extensionDerek Guenther-0/+9
2014-02-08Add new syntax extension fourcc!()Kevin Ballard-0/+14
fourcc!() allows you to embed FourCC (or OSType) values that are evaluated as u32 literals. It takes a 4-byte ASCII string and produces the u32 resulting in interpreting those 4 bytes as a u32, using either the platform-native endianness, or explicitly as big or little endian.