rust/src
Alex Crichton 5f006cebfc rustc: Tweak #[target_feature] syntax
This is an implementation of the `#[target_feature]` syntax-related changes of
[RFC 2045][rfc]. Notably two changes have been implemented:

* The new syntax is `#[target_feature(enable = "..")]` instead of
  `#[target_feature = "+.."]`. The `enable` key is necessary instead of the `+`
  to indicate that a feature is being enabled, and a sub-list is used for
  possible expansion in the future. Additionally within this syntax the feature
  names being enabled are now whitelisted against a known set of target feature
  names that we know about.

* The `#[target_feature]` attribute can only be applied to unsafe functions. It
  was decided in the RFC that invoking an instruction possibly not defined for
  the current processor is undefined behavior, so to enable this feature for now
  it requires an `unsafe` intervention.

[rfc]: https://github.com/rust-lang/rfcs/blob/master/text/2045-target-feature.md
2018-01-13 10:07:18 -08:00
..
binaryen@1c9bf65aa0 Update miri to rustc changes 2017-12-06 09:25:29 +01:00
bootstrap Auto merge of #46592 - o01eg:fix-45345, r=alexcrichton 2018-01-13 05:02:04 +00:00
build_helper Revert "Add a file to trivially disable tool building or testing" 2017-12-27 00:00:45 +08:00
ci Rollup merge of #47283 - malbarbo:musl-1.1.18, r=alexcrichton 2018-01-13 02:26:27 +08:00
dlmalloc@d3812c3acc Update miri to rustc changes 2017-12-06 09:25:29 +01:00
doc Rollup merge of #47301 - GuillaumeGomez:fix-error-index-display, r=QuietMisdreavus 2018-01-09 22:28:26 -05:00
etc Correct the return type for x86_mm256_sad_epu8 2017-12-21 22:58:03 +00:00
grammar Update miri to rustc changes 2017-12-06 09:25:29 +01:00
jemalloc@1f5a28755e
liballoc Auto merge of #46461 - zackmdavis:elemental_method_suggestion_jamboree, r=estebank 2018-01-13 02:15:19 +00:00
liballoc_jemalloc Add CloudABI to the list of systems on which we stub out alloc_jemalloc. 2017-12-30 10:00:35 +01:00
liballoc_system Build the right platform module on CloudABI. 2017-12-31 13:21:46 +01:00
libarena Rollup merge of #47069 - Kagamihime:master, r=nrc 2018-01-13 02:26:23 +08:00
libbacktrace Update miri to rustc changes 2017-12-06 09:25:29 +01:00
libcompiler_builtins@0ba07e4926 Update compiler_builtins 2017-12-26 22:22:21 -02:00
libcore Rollup merge of #47365 - Diggsey:issue-42630, r=alexcrichton 2018-01-13 03:17:05 +08:00
libfmt_macros Update miri to rustc changes 2017-12-06 09:25:29 +01:00
libgetopts Update miri to rustc changes 2017-12-06 09:25:29 +01:00
libgraphviz Fix docs for future pulldown migration 2018-01-01 14:44:12 +01:00
liblibc@2b4cd1016b Upgrade liblibc to latest upstream version. 2018-01-08 16:59:15 +01:00
libpanic_abort Let libpanic_abort call into libc's abort() on CloudABI. 2018-01-05 22:16:54 +01:00
libpanic_unwind Make libpanic_unwind build on CloudABI. 2018-01-04 17:55:44 +01:00
libproc_macro Auto merge of #46551 - jseyfried:improve_legacy_modern_macro_interaction, r=nrc 2018-01-12 10:00:09 +00:00
libprofiler_builtins Update miri to rustc changes 2017-12-06 09:25:29 +01:00
librustc rustc: Tweak #[target_feature] syntax 2018-01-13 10:07:18 -08:00
librustc_allocator Update miri to rustc changes 2017-12-06 09:25:29 +01:00
librustc_apfloat Fix docs for future pulldown migration 2018-01-01 14:44:12 +01:00
librustc_asan
librustc_back Rollup merge of #47328 - mbrubeck:fs_read, r=sfackler 2018-01-13 02:26:35 +08:00
librustc_binaryen Update miri to rustc changes 2017-12-06 09:25:29 +01:00
librustc_borrowck Rollup merge of #47258 - rkruppe:struct-assert, r=eddyb 2018-01-09 03:37:16 +08:00
librustc_const_eval Use delay_span_bug() over debug!() 2018-01-13 00:54:56 +09:00
librustc_const_math rustc: use {U,I}size instead of {U,I}s shorthands. 2018-01-04 03:12:04 +02:00
librustc_cratesio_shim
librustc_data_structures Shorten names of some compiler generated artifacts. 2018-01-08 12:30:52 +01:00
librustc_driver Rollup merge of #47331 - michaelwoerister:measure-depgraph-loading, r=alexcrichton 2018-01-13 02:26:37 +08:00
librustc_errors Clean emitted diagnostics when reset_err_count is called. 2018-01-08 17:36:21 +01:00
librustc_incremental Rollup merge of #47328 - mbrubeck:fs_read, r=sfackler 2018-01-13 02:26:35 +08:00
librustc_lint Rollup merge of #47262 - estebank:issue-45562, r=petrochenkov 2018-01-09 22:28:24 -05:00
librustc_llvm Remove dead function rustc_llvm::debug_loc_to_string() 2018-01-07 04:39:58 +01:00
librustc_lsan
librustc_metadata Auto merge of #47181 - michaelwoerister:var-len-def-index, r=eddyb 2018-01-13 09:11:59 +00:00
librustc_mir Rollup merge of #47328 - mbrubeck:fs_read, r=sfackler 2018-01-13 02:26:35 +08:00
librustc_msan
librustc_passes Try to fix a perf regression by updating log 2018-01-07 16:54:05 +01:00
librustc_platform_intrinsics Correct the return type for x86_mm256_sad_epu8 2017-12-21 22:58:03 +00:00
librustc_plugin rustc: Don't use relative paths for extended errors 2018-01-04 07:21:22 -08:00
librustc_privacy rustc: Don't use relative paths for extended errors 2018-01-04 07:21:22 -08:00
librustc_resolve Auto merge of #47181 - michaelwoerister:var-len-def-index, r=eddyb 2018-01-13 09:11:59 +00:00
librustc_save_analysis Auto merge of #47181 - michaelwoerister:var-len-def-index, r=eddyb 2018-01-13 09:11:59 +00:00
librustc_trans rustc: Tweak #[target_feature] syntax 2018-01-13 10:07:18 -08:00
librustc_trans_utils Try to fix a perf regression by updating log 2018-01-07 16:54:05 +01:00
librustc_tsan
librustc_typeck Auto merge of #46461 - zackmdavis:elemental_method_suggestion_jamboree, r=estebank 2018-01-13 02:15:19 +00:00
librustdoc Use the new fs_read_write functions in rustc internals 2018-01-10 14:53:40 -08:00
libserialize [incremental] Specialize encoding and decoding of Fingerprints 2018-01-09 20:20:50 -05:00
libstd Auto merge of #46461 - zackmdavis:elemental_method_suggestion_jamboree, r=estebank 2018-01-13 02:15:19 +00:00
libstd_unicode Move static code outside of unciode.py. 2018-01-02 22:51:22 -05:00
libsyntax Auto merge of #47251 - rkruppe:rm-simd-attr, r=eddyb 2018-01-13 15:29:31 +00:00
libsyntax_ext Rename ReprExtern to ReprC, and similarily rename a few other fields and locals that mentioned "extern repr" 2018-01-07 22:05:32 +01:00
libsyntax_pos Auto merge of #46551 - jseyfried:improve_legacy_modern_macro_interaction, r=nrc 2018-01-12 10:00:09 +00:00
libterm Use Try syntax for Option in place of macros or match 2017-12-09 14:18:33 -08:00
libtest Make libtest build on CloudABI. 2018-01-11 11:42:33 +01:00
libunwind Link against -lunwind on CloudABI. 2017-12-26 23:32:42 +01:00
llvm@2717444753 Try to find a better pass manager order 2017-12-24 00:15:12 +02:00
rt
rtstartup Update miri to rustc changes 2017-12-06 09:25:29 +01:00
rustc Update miri to rustc changes 2017-12-06 09:25:29 +01:00
rustllvm Remove unused LLVMRustJITMemoryManagerRef typedef 2018-01-07 04:39:58 +01:00
test rustc: Tweak #[target_feature] syntax 2018-01-13 10:07:18 -08:00
tools Rollup merge of #47282 - malbarbo:i586-musl, r=alexcrichton 2018-01-13 02:26:26 +08:00
Cargo.lock Rollup merge of #47288 - cuviper:jobserver-pipe2, r=alexcrichton 2018-01-13 02:26:28 +08:00
Cargo.toml cargo update and add miri as the rustc workspace member. 2017-12-27 00:00:44 +08:00
stage0.txt Bump to 1.25.0 2018-01-04 07:21:22 -08:00