about summary refs log tree commit diff
path: root/src/librustc_middle/middle/codegen_fn_attrs.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-124/+0
2020-08-14Fix tests and address review commentsMatthew Jasper-2/+2
2020-08-14Rework `rustc_serialize`Matthew Jasper-2/+2
- Move the type parameter from `encode` and `decode` methods to the trait. - Remove `UseSpecialized(En|De)codable` traits. - Remove blanket impls for references. - Add `RefDecodable` trait to allow deserializing to arena-allocated references safely. - Remove ability to (de)serialize HIR. - Create proc-macros `(Ty)?(En|De)codable` to help implement these new traits.
2020-06-14Diagnose use of incompatible sanitizersTomasz Miąsko-10/+7
Emit an error when incompatible sanitizer are configured through command line options. Previously the last one configured prevailed and others were silently ignored. Additionally use a set to represent configured sanitizers, making it possible to enable multiple sanitizers at once. At least in principle, since currently all of them are considered to be incompatible with others.
2020-05-20Implement `#[ffi_const]` and `#[ffi_pure]` function attributesMatthias Schiffer-0/+6
Introduce function attribute corresponding to the `const`/`pure` attributes supported by GCC, clang and other compilers. Based on the work of gnzlbg <gonzalobg88@gmail.com>.
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-1/+1
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-0/+121