| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -5/+5 | |
| 2019-02-08 | librustc_mir => 2018 | Taiki Endo | -1/+1 | |
| 2019-01-30 | Swap the names of `LocalValue` and `LocalState` | Oliver Scherer | -23/+23 | |
| 2019-01-30 | Eliminate an unwrap | Oliver Scherer | -10/+11 | |
| 2019-01-30 | Monomorphize types when not going through `layout_of_local` | Oliver Scherer | -1/+2 | |
| 2019-01-30 | Indent fixup | Oliver Scherer | -2/+2 | |
| 2019-01-30 | Can't use `layout_of_local` for the frame currently being created | Oliver Scherer | -2/+3 | |
| 2019-01-30 | Allow `layout_of_local` to also use cached layouts | Oliver Scherer | -4/+7 | |
| 2019-01-30 | Merge `locals` and `local_layouts` fields | Oliver Scherer | -30/+40 | |
| 2019-01-25 | Rollup merge of #57734 - oli-obk:fixes_and_cleanups, r=pnkfelix | Mazdak Farrokhzad | -5/+5 | |
| Fix evaluating trivial drop glue in constants ```rust struct A; impl Drop for A { fn drop(&mut self) {} } const FOO: Option<A> = None; const BAR: () = (FOO, ()).1; ``` was erroring with ``` error: any use of this value will cause an error --> src/lib.rs:9:1 | 9 | const BAR: () = (FOO, ()).1; | ^^^^^^^^^^^^^^^^^^^^^^^^^^-^ | | | calling non-const function `std::ptr::real_drop_in_place::<(std::option::Option<A>, ())> - shim(Some((std::option::Option<A>, ())))` | = note: #[deny(const_err)] on by default error: aborting due to previous error ``` before this PR. According to godbolt this last compiled successfully in 1.27 | ||||
| 2019-01-23 | Follow naming scheme for "frame" methods | Oliver Scherer | -4/+4 | |
| 2019-01-22 | Bail out on overly generic substitutions | Oliver Scherer | -11/+31 | |
| 2019-01-20 | const_eval: Predetermine the layout of all locals when pushing a stack frame | Björn Steinbrink | -5/+14 | |
| Usually the layout of any locals is required at least three times, once when it becomes live, once when it is written to, and once it is read from. By adding a cache for them, we can reduce the number of layout queries speeding up code that is heavy on const_eval. | ||||
| 2019-01-18 | Manually inline a function that was only used once | Oliver Scherer | -5/+5 | |
| 2019-01-04 | add support for principal-less trait object types | Ariel Ben-Yehuda | -1/+1 | |
| should be a pure refactoring. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-19 | make basic CTFE tracing available on release builds | Ralf Jung | -4/+4 | |
| 2018-11-25 | machine hooks for stack push and pop, frame machine data | Ralf Jung | -6/+12 | |
| 2018-11-24 | Rollup merge of #56022 - RalfJung:validate-before-jump, r=oli-obk | kennytm | -7/+14 | |
| When popping in CTFE, perform validation before jumping to next statement to have a better span for the error Currently, when validating the return value fails, the span points at the next statement after the call. That does not make much sense. r? @oli-obk | ||||
| 2018-11-22 | rustc_target: avoid using AbiAndPrefAlign where possible. | Eduard-Mihai Burtescu | -9/+9 | |
| 2018-11-22 | rustc_target: separate out an individual Align from AbiAndPrefAlign. | Eduard-Mihai Burtescu | -2/+2 | |
| 2018-11-22 | rustc_target: rename abi::Align to AbiAndPrefAlign. | Eduard-Mihai Burtescu | -6/+6 | |
| 2018-11-19 | explain why we can use raw | Ralf Jung | -0/+4 | |
| 2018-11-19 | use RawConst in miri | Ralf Jung | -5/+9 | |
| 2018-11-19 | Rollup merge of #56059 - alexcrichton:fix-tests, r=sfackler | kennytm | -2/+15 | |
| Increase `Duration` approximate equal threshold to 1us Previously this threshold when testing was 100ns, but the Windows documentation states: > which is a high resolution (<1us) time stamp which presumably means that we could have up to 1us resolution, which means that 100ns doesn't capture "equivalent" time intervals due to various bits of rounding here and there. It's hoped that this.. Closes #56034 | ||||
| 2018-11-18 | Auto merge of #55672 - RalfJung:miri-extern-types, r=eddyb | bors | -2/+15 | |
| miri: accept extern types in structs if they are the only field Fixes https://github.com/rust-lang/rust/issues/55541 Cc @oli-obk @eddyb https://github.com/rust-lang/rust/issues/43467 | ||||
| 2018-11-17 | deallocate locals before validation, to catch dangling references | Ralf Jung | -11/+19 | |
| 2018-11-17 | When popping in CTFE, perform validation before jumping to next statement to ↵ | Ralf Jung | -17/+16 | |
| have a better span for the error | ||||
| 2018-11-15 | rename FrameInfo span field to call_site | Ralf Jung | -1/+1 | |
| 2018-11-14 | miri: backtraces with instances | Ralf Jung | -12/+3 | |
| 2018-11-06 | make sure we only guess field alignment at offset 0 | Ralf Jung | -4/+3 | |
| 2018-11-05 | note some FIXMEs | Ralf Jung | -0/+3 | |
| 2018-11-05 | generalize the traversal part of validation to a ValueVisitor | Ralf Jung | -1/+1 | |
| 2018-11-04 | rustc_target: pass contexts by reference, not value. | Eduard-Mihai Burtescu | -37/+7 | |
| 2018-11-04 | test for offset and alignment of the sized part, instead of field count | Ralf Jung | -5/+5 | |
| 2018-11-04 | miri: accept extern types in structs if they are the only field | Ralf Jung | -2/+13 | |
| 2018-11-02 | Rename `Value` to `Immediate` for miri | Oliver Scherer | -7/+7 | |
| 2018-10-28 | don't tag new memory inside memory.rs; add machine hook to tag new memory | Ralf Jung | -1/+1 | |
| 2018-10-28 | make memory private; that's what we have `memory_mut` for | Ralf Jung | -1/+1 | |
| 2018-10-26 | Auto merge of #53821 - oli-obk:sanity_query, r=RalfJung | bors | -4/+9 | |
| Report const eval error inside the query Functional changes: We no longer warn about bad constants embedded in unused types. This relied on being able to report just a warning, not a hard error on that case, which we cannot do any more now that error reporting is consistently centralized. r? @RalfJung fixes #53561 | ||||
| 2018-10-25 | Forward `TooGeneric` errors | Oliver Schneider | -2/+6 | |
| 2018-10-25 | Report const eval error inside the query | Oliver Schneider | -4/+5 | |
| 2018-10-23 | fix typos in various places | Matthias Krüger | -1/+1 | |
| 2018-10-21 | Use `read_local_of_frame` in `eval_place_to_op` | bjorn3 | -8/+4 | |
| Also make `layout_of_local` accept any `Frame` | ||||
| 2018-10-18 | the tidy strikes again | Ralf Jung | -2/+2 | |
| 2018-10-18 | miri: debug! print when we are leaving/entering a function | Ralf Jung | -0/+14 | |
| With a hack to exclude the topmost function for now, because that triggers an ICE... | ||||
| 2018-10-18 | Forward entire ptr used for dealloaction to machine | Ralf Jung | -2/+2 | |
| Also, demote some debug! to trace! | ||||
| 2018-10-18 | eval_context: move getters together and add one for is_freeze | Ralf Jung | -48/+55 | |
| 2018-10-18 | add support for storing extra data in an allocation | Ralf Jung | -2/+1 | |
| 2018-10-16 | Use forward compatible `FxHashMap` initialization | Oliver Scherer | -1/+1 | |
