rust/src
bors 2cdbd5eb42 Auto merge of #38079 - BurntSushi:attrtarget, r=alexcrichton
Add new #[target_feature = "..."] attribute.

This commit adds a new attribute that instructs the compiler to emit
target specific code for a single function. For example, the following
function is permitted to use instructions that are part of SSE 4.2:

    #[target_feature = "+sse4.2"]
    fn foo() { ... }

In particular, use of this attribute does not require setting the
-C target-feature or -C target-cpu options on rustc.

This attribute does not have any protections built into it. For example,
nothing stops one from calling the above `foo` function on hosts without
SSE 4.2 support. Doing so may result in a SIGILL.

I've also expanded the x86 target feature whitelist.
2016-12-03 17:41:14 +00:00
..
bootstrap Auto merge of #38050 - alexcrichton:fix-llvm-deps, r=japaric 2016-12-02 11:35:57 +00:00
build_helper run rustfmt on various folders 2016-10-16 15:41:01 +05:30
ci Move all Linux/OSX CI infastructure to Travis 2016-11-11 07:36:40 -08:00
compiler-rt@a8fc4c169f Update compiler-rt to fix MIPS64 infinite recursion 2016-11-21 14:53:55 +08:00
doc Auto merge of #37960 - samestep:five, r=frewsxcv 2016-11-25 20:19:47 -06:00
driver
etc rustc: rework stability to be on-demand for type-directed lookup. 2016-11-28 04:18:11 +02:00
grammar Fix grammar verification 2016-11-16 22:42:07 +01:00
jemalloc@e058ca6616
liballoc [breaking-change] change the box_free item to accept pointers to unsized types 2016-11-11 13:36:10 +01:00
liballoc_jemalloc Add Fuchsia support 2016-10-22 07:08:06 -07:00
liballoc_system Print out the error when HeapFree failures do occur 2016-10-25 10:00:16 -04:00
libarena Auto merge of #37270 - Mark-Simulacrum:smallvec-optimized-arenas, r=eddyb 2016-10-26 03:47:55 -07:00
libbacktrace
libcollections Add String::split_off. 2016-11-30 23:24:57 -05:00
libcollectionstest Add String::split_off. 2016-11-30 23:24:57 -05:00
libcompiler_builtins Auto merge of #38046 - rkruppe:fix-32bit-rustbuild, r=alexcrichton 2016-11-28 21:44:44 -06:00
libcore Auto merge of #38047 - canndrew:fmt-void-non-empty, r=bluss 2016-11-30 23:40:10 +00:00
libcoretest Overload get{,_mut}{,_unchecked} 2016-11-26 10:07:39 -08:00
libflate Use fast decompression in deflate_bytes. 2016-10-20 15:08:01 +11:00
libfmt_macros On fmt string with unescaped { note how to escape 2016-11-11 10:53:02 -08:00
libgetopts Changed most vec! invocations to use square braces 2016-10-31 22:51:40 +00:00
libgraphviz Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
liblibc@6e8c1b490c rustc: Implement #[link(cfg(..))] and crt-static 2016-11-16 07:00:09 -08:00
liblog run rustfmt on liblog 2016-10-12 23:45:03 +05:30
libpanic_abort rustbuild: Add bench = false to std shim crates 2016-11-26 00:26:44 +01:00
libpanic_unwind rustbuild: Add bench = false to std shim crates 2016-11-26 00:26:44 +01:00
libproc_macro Allow proc_macro functions to whitelist specific attributes 2016-11-08 23:03:56 +10:30
libproc_macro_plugin Move syntax::util::interner -> syntax::symbol, cleanup. 2016-11-20 23:40:20 +00:00
libproc_macro_tokens Move syntax::util::interner -> syntax::symbol, cleanup. 2016-11-20 23:40:20 +00:00
librand Changed most vec! invocations to use square braces 2016-10-31 22:51:40 +00:00
librustc Auto merge of #38061 - cardoe:target-spec, r=alexcrichton 2016-12-03 14:21:51 +00:00
librustc_back Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
librustc_bitflags std: Stabilize and deprecate APIs for 1.13 2016-10-03 10:34:34 -07:00
librustc_borrowck Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakis 2016-12-02 15:06:36 +00:00
librustc_const_eval Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakis 2016-12-02 15:06:36 +00:00
librustc_const_math Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
librustc_data_structures Use SmallVec for TypeWalker's stack. 2016-11-22 10:02:04 +11:00
librustc_driver Auto merge of #38079 - BurntSushi:attrtarget, r=alexcrichton 2016-12-03 17:41:14 +00:00
librustc_errors Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
librustc_incremental Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
librustc_lint Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakis 2016-12-02 15:06:36 +00:00
librustc_llvm Auto merge of #38079 - BurntSushi:attrtarget, r=alexcrichton 2016-12-03 17:41:14 +00:00
librustc_metadata Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakis 2016-12-02 15:06:36 +00:00
librustc_mir Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakis 2016-12-02 15:06:36 +00:00
librustc_passes Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
librustc_platform_intrinsics
librustc_plugin rustc_plugin: fix compilation 2016-11-29 13:04:27 +01:00
librustc_privacy Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakis 2016-12-02 15:06:36 +00:00
librustc_resolve Auto merge of #37800 - alexcrichton:new-bootstrap, r=eddyb 2016-11-30 19:17:24 +00:00
librustc_save_analysis Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakis 2016-12-02 15:06:36 +00:00
librustc_trans Auto merge of #38079 - BurntSushi:attrtarget, r=alexcrichton 2016-12-03 17:41:14 +00:00
librustc_typeck Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakis 2016-12-02 15:06:36 +00:00
librustc_unicode Auto merge of #38008 - bluss:rustbuild-benches, r=alexcrichton 2016-11-26 12:32:19 -06:00
librustdoc Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakis 2016-12-02 15:06:36 +00:00
libserialize Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
libstd Auto merge of #37936 - tedsta:fuchsia_std_process, r=alexcrichton 2016-12-02 07:35:06 +00:00
libsyntax Auto merge of #38079 - BurntSushi:attrtarget, r=alexcrichton 2016-12-03 17:41:14 +00:00
libsyntax_ext Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
libsyntax_pos Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
libterm Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
libtest Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
libunwind rustbuild: Add bench = false to std shim crates 2016-11-26 00:26:44 +01:00
llvm@c1d962263b LLVM: Update submodule to rust-llvm-2016-10-29 branch. 2016-10-29 18:56:20 +03:00
rt
rtstartup Rename static mut to upper case 2016-10-14 17:21:11 +03:00
rust-installer@4f99485080 Update rust-installer. Fixes #36451 2016-10-05 00:17:30 +00:00
rustc Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
rustllvm Don't assume llvm::StringRef is null terminated 2016-11-28 17:33:13 +01:00
test Auto merge of #38079 - BurntSushi:attrtarget, r=alexcrichton 2016-12-03 17:41:14 +00:00
tools Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
vendor Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
Cargo.lock Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
Cargo.toml Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
stage0.txt Update the bootstrap compiler 2016-11-30 10:38:08 -08:00