rust/src
Alexis Beingessner 6e2efe3aa4 refactor NonZero, Shared, and Unique APIs
Major difference is that I removed Deref impls, as apparently LLVM has
trouble maintaining metadata with a `&ptr -> &ptr` API. This was cited
as a blocker for ever stabilizing this API. It wasn't that ergonomic
anyway.

* Added `get` to NonZero to replace Deref impl
* Added `as_ptr` to Shared/Unique to replace Deref impl
* Added Unique's `as_ref` and `as_mut` conveniences to Shared
* Added `::empty()` convenience constructor for Unique/Shared
* Deprecated `as_mut_ptr` on Shared in favour of `as_ptr`
* Improved documentation of types

Note that Shared now only refers to *mut, and not *const
2017-05-04 14:56:02 -04:00
..
bootstrap Rename os variable in bootstrap.py to avoid shadowing os module. 2017-04-30 16:10:31 -04:00
build_helper Support AddressSanitizer and ThreadSanitizer on x86_64-apple-darwin. 2017-04-25 10:31:01 +08:00
ci ci: Update sccache build 2017-04-29 00:29:54 -07:00
compiler-rt@c8a8767c56 support default impl for specialization 2017-04-25 05:28:22 +00:00
doc Add some documentation for -Zremap-path-prefix to the unstable book 2017-04-26 16:13:16 +02:00
driver
etc Auto merge of #41575 - alexcrichton:android-qemu-server, r=TimNN 2017-04-28 16:10:08 +00:00
grammar Auto merge of #41508 - michaelwoerister:generic-path-remapping, r=alexcrichton 2017-04-28 12:09:37 +00:00
jemalloc@11bfb0dcf8 support default impl for specialization 2017-04-25 05:28:22 +00:00
liballoc Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00
liballoc_jemalloc Specialize Vec::from_elem<u8> to use calloc or memset 2017-04-15 09:01:56 -07:00
liballoc_system Specialize Vec::from_elem<u8> to use calloc or memset 2017-04-15 09:01:56 -07:00
libarena
libbacktrace libbacktrace: Fix uninitialized variable 2017-02-04 01:18:10 +03:00
libcollections FromIterator and Extend Cow for String 2017-04-28 22:30:12 -04:00
libcompiler_builtins Auto merge of #40123 - TimNN:llvm40, r=alexcrichton 2017-04-24 22:18:16 +00:00
libcore refactor NonZero, Shared, and Unique APIs 2017-05-04 14:56:02 -04:00
libflate Add/remove rerun-if-changed when necessary 2017-03-04 21:38:26 +03:00
libfmt_macros
libgetopts
libgraphviz Fix various useless derefs and slicings 2017-03-27 08:58:00 +02:00
liblibc@c34a802d1e support default impl for specialization 2017-04-25 05:28:22 +00:00
libpanic_abort
libpanic_unwind std: Remove cfg(cargobuild) annotations 2017-02-06 08:42:54 -08:00
libproc_macro Add doc attributes to proc_macro crate 2017-03-12 02:54:43 +00:00
libproc_macro_plugin Improve the TokenStream quoter. 2017-03-15 23:05:02 +00:00
librand Removal pass for anonymous parameters 2017-05-02 05:55:20 +02:00
librustc Rollup merge of #41693 - est31:anon_params_removal, r=eddyb 2017-05-02 09:09:59 -04:00
librustc_asan Support AddressSanitizer and ThreadSanitizer on x86_64-apple-darwin. 2017-04-25 10:31:01 +08:00
librustc_back Rollup merge of #41456 - jessicah:haiku-support, r=alexcrichton 2017-04-26 22:11:03 +00:00
librustc_bitflags
librustc_borrowck modify ExprUseVisitor and friends to take region-maps, not def-id 2017-04-30 17:03:32 -04:00
librustc_const_eval modify ExprUseVisitor and friends to take region-maps, not def-id 2017-04-30 17:03:32 -04:00
librustc_const_math rustc_const_eval: always demand typeck_tables for evaluating constants. 2017-02-25 18:35:26 +02:00
librustc_data_structures Rollup merge of #41693 - est31:anon_params_removal, r=eddyb 2017-05-02 09:09:59 -04:00
librustc_driver Rollup merge of #41693 - est31:anon_params_removal, r=eddyb 2017-05-02 09:09:59 -04:00
librustc_errors Auto merge of #40851 - oli-obk:multisugg, r=jonathandturner 2017-05-02 01:04:27 +00:00
librustc_incremental Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00
librustc_lint Add a lint to disallow anonymous parameters 2017-05-02 05:15:26 +02:00
librustc_llvm Auto merge of #41560 - alevy:rwpi-ropi, r=eddyb 2017-05-01 17:23:09 +00:00
librustc_lsan Support AddressSanitizer and ThreadSanitizer on x86_64-apple-darwin. 2017-04-25 10:31:01 +08:00
librustc_metadata Rollup merge of #41662 - nikomatsakis:on-demandify-region-mapping, r=eddyb 2017-05-02 09:09:55 -04:00
librustc_mir pacify the mercilous tidy 2017-05-01 11:09:36 -04:00
librustc_msan Support AddressSanitizer and ThreadSanitizer on x86_64-apple-darwin. 2017-04-25 10:31:01 +08:00
librustc_passes Rollup merge of #41662 - nikomatsakis:on-demandify-region-mapping, r=eddyb 2017-05-02 09:09:55 -04:00
librustc_platform_intrinsics Auto merge of #38561 - nagisa:rdrandseed, r=alexcrichton 2017-02-14 01:26:10 +00:00
librustc_plugin kill a bunch of one off tasks 2017-04-18 08:20:12 -04:00
librustc_privacy Auto merge of #41504 - eddyb:query-api, r=nikomatsakis 2017-04-26 09:54:11 +00:00
librustc_resolve refac Move levenchstein before context dependent check 2017-04-28 20:40:11 +02:00
librustc_save_analysis Removal pass for anonymous parameters 2017-05-02 05:55:20 +02:00
librustc_trans Auto merge of #41611 - cramertj:metadata-queries-1, r=nikomatsakis 2017-05-01 19:53:19 +00:00
librustc_tsan Support AddressSanitizer and ThreadSanitizer on x86_64-apple-darwin. 2017-04-25 10:31:01 +08:00
librustc_typeck Auto merge of #41702 - frewsxcv:rollup, r=frewsxcv 2017-05-02 14:56:11 +00:00
librustdoc Rollup merge of #41693 - est31:anon_params_removal, r=eddyb 2017-05-02 09:09:59 -04:00
libserialize Only SwitchInt over integers, not all consts 2017-02-10 19:42:41 +02:00
libstd Fix incorrect hex value in doc comment example. 2017-05-01 20:38:59 -04:00
libstd_unicode Remove parentheses in method references 2017-03-30 18:33:23 -04:00
libsyntax Rollup merge of #41693 - est31:anon_params_removal, r=eddyb 2017-05-02 09:09:59 -04:00
libsyntax_ext support default impl for specialization 2017-04-24 10:08:48 +00:00
libsyntax_pos Implement a file-path remapping feature in support of debuginfo and reproducible builds. 2017-04-26 15:44:02 +02:00
libterm Update usages of 'OSX' (and other old names) to 'macOS'. 2017-03-12 14:59:04 -04:00
libtest Fix links 2017-04-04 15:39:44 -04:00
libunwind Haiku: fix initial platform support 2017-04-22 13:47:36 +12:00
llvm@15745af768 Update LLVM to fix incorrect codegen on MSP430. 2017-04-27 08:40:27 +03:00
rt support default impl for specialization 2017-04-25 05:28:22 +00:00
rtstartup Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00
rust-installer@4f99485080
rustc Fix plain_summary_line function 2017-03-28 11:38:56 -06:00
rustllvm Auto merge of #41560 - alevy:rwpi-ropi, r=eddyb 2017-05-01 17:23:09 +00:00
test Auto merge of #41702 - frewsxcv:rollup, r=frewsxcv 2017-05-02 14:56:11 +00:00
tools Auto merge of #41544 - alexcrichton:bump-bootstrap, r=brson 2017-04-29 20:38:15 +00:00
Cargo.lock Auto merge of #41588 - cengizIO:master, r=nikomatsakis 2017-04-29 12:59:45 +00:00
Cargo.toml Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00
stage0.txt Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00