about summary refs log tree commit diff
path: root/src/test/incremental-fulldeps
AgeCommit message (Collapse)AuthorLines
2018-11-30tests: move all proc_macro tests from -fulldeps.Eduard-Mihai Burtescu-239/+0
2018-11-30tests: remove ignore-stage1 where possible in proc_macro tests.Eduard-Mihai Burtescu-3/+0
2018-09-21Ignore new test on WindowsAlex Crichton-0/+1
2018-09-15avoid leaking host details in proc macro metadata decodingAriel Ben-Yehuda-0/+77
proc macro crates are essentially implemented as dynamic libraries using a dlopen-based ABI. They are also Rust crates, so they have 2 worlds - the "host" world in which they are defined, and the "target" world in which they are used. For all the "target" world knows, the proc macro crate might not even be implemented in Rust, so leaks of details from the host to the target must be avoided for correctness. Because the "host" DefId space is different from the "target" DefId space, any leak involving a DefId will have a nonsensical or out-of-bounds DefKey, and will cause all sorts of crashes. This PR fixes all leaks I have found in `decoder`. In particular, #54059 was caused by host native libraries leaking into the target, which feels like it might even be a correctness issue if it doesn't cause an ICE. Fixes #54059
2018-08-26use an incremental-fulldeps test instead of a run-make testAriel Ben-Yehuda-0/+106
2018-04-13Rename must-compile-successfully into compile-passGuillaume Gomez-1/+1
2018-01-16Add incremental-fulldeps test suite and regression test for #47290.Michael Woerister-0/+58