rust/src/test
bors 3e70dfd655 Auto merge of #49956 - QuietMisdreavus:rustdoc-codegen, r=GuillaumeGomez
rustdoc: port the -C option from rustc

Blocked on https://github.com/rust-lang/rust/pull/49864. The included test won't work without those changes, so this PR includes those commits as well.

When documenting items that require certain target features, it helps to be able to force those target features into existence. Rather than include a flag just to parse those features, i instead decided to port the `-C` flag from rustc in its entirety. It takes the same parameters, because it runs through the same parsing function. This has the added benefit of being able to control the codegen of doctests as well.

One concern i have with the flag is that i set it to stable here. My rationale is that it is a direct port of functionality on rustc that is currently stable, used only in mechanisms that it is originally used for. If needed, i can set it back to be unstable.
2018-04-16 05:00:14 +00:00
..
auxiliary Remove directory src/rt 2018-02-24 16:45:39 +03:00
codegen Auto merge of #48528 - bitshifter:repr_packed, r=eddyb 2018-04-12 03:08:14 +00:00
codegen-units Add codegen-units test for shared-generics. 2018-04-06 12:14:08 +02:00
compile-fail Auto merge of #49881 - varkor:partialord-opt, r=Manishearth 2018-04-15 03:54:15 +00:00
compile-fail-fulldeps Use Ident instead of Name in MetaItem 2018-04-06 11:52:16 +03:00
debuginfo travis: Upgrade OSX builders 2018-03-07 10:47:38 -08:00
incremental Don't recurse into allocations, use a global table instead 2018-04-14 12:21:46 +02:00
incremental-fulldeps Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
mir-opt Add some new tests + Fix failing tests 2018-04-12 23:06:03 +03:00
parse-fail Rollup merge of #49350 - abonander:macros-in-extern, r=petrochenkov 2018-04-05 10:49:14 -05:00
pretty Remove all unstable placement features 2018-04-03 11:02:34 +02:00
run-fail Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
run-fail-fulldeps Remove syntax and syntax_pos thread locals 2018-03-14 11:56:01 +01:00
run-make pgo: Move the tests to run-make-fulldeps, and make the profile file be in the tmp directory properly. 2018-03-25 03:58:26 +02:00
run-make-fulldeps Auto merge of #49847 - sinkuu:save_analysis_implicit_extern, r=petrochenkov 2018-04-16 02:34:32 +00:00
run-pass Auto merge of #49719 - mark-i-m:no_sep, r=petrochenkov 2018-04-16 00:06:10 +00:00
run-pass-fulldeps proc_macro: Avoid cached TokenStream more often 2018-04-10 13:05:13 -07:00
run-pass-valgrind Add 'ignore-cloudabi' to tests that don't and won't build on CloudABI. 2018-01-02 14:11:41 +01:00
rustdoc add -C parameter to rustdoc 2018-04-13 16:07:12 -05:00
rustdoc-js Merge branch 'rustdoc_masked' of https://github.com/ollie27/rust into rollup 2018-01-26 06:51:58 -08:00
ui Auto merge of #49719 - mark-i-m:no_sep, r=petrochenkov 2018-04-16 00:06:10 +00:00
ui-fulldeps proc_macro: Reorganize public API 2018-04-02 13:48:34 -07:00
COMPILER_TESTS.md Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00