]> git.lizzy.rs Git - rust.git/log
rust.git
7 years agoRemoved unused crate imports
Oliver Schneider [Fri, 5 May 2017 08:37:04 +0000 (10:37 +0200)]
Removed unused crate imports

7 years agoAddress things complained about by clippy
Oliver Schneider [Fri, 5 May 2017 08:34:38 +0000 (10:34 +0200)]
Address things complained about by clippy

7 years agoRustup to rustc 1.19.0-nightly (2d4ed8e0c 2017-05-03)
Oliver Schneider [Thu, 4 May 2017 15:42:43 +0000 (17:42 +0200)]
Rustup to rustc 1.19.0-nightly (2d4ed8e0c 2017-05-03)

7 years agoUpdate to rustc 1.19.0-nightly (777ee2079 2017-05-01)
Oliver Schneider [Tue, 2 May 2017 08:44:35 +0000 (10:44 +0200)]
Update to rustc 1.19.0-nightly (777ee2079 2017-05-01)

7 years agoUpdate to the latest rustc version
Oliver Schneider [Thu, 27 Apr 2017 11:48:19 +0000 (13:48 +0200)]
Update to the latest rustc version

7 years agoMerge pull request #161 from oli-obk/master
Eduard-Mihai Burtescu [Wed, 26 Apr 2017 10:48:16 +0000 (13:48 +0300)]
Merge pull request #161 from oli-obk/master

Address clippy lints

7 years agoAddress clippy lints
Oliver Schneider [Wed, 26 Apr 2017 10:15:42 +0000 (12:15 +0200)]
Address clippy lints

7 years agoMerge pull request #160 from oli-obk/master
Eduard-Mihai Burtescu [Tue, 25 Apr 2017 15:18:19 +0000 (18:18 +0300)]
Merge pull request #160 from oli-obk/master

Also test subdirectories of `rust/src/test/run-pass`

7 years agoAlso test subdirectories of `rust/src/test/run-pass`
Oliver Schneider [Tue, 25 Apr 2017 15:08:12 +0000 (17:08 +0200)]
Also test subdirectories of `rust/src/test/run-pass`

7 years agoUpdate for latest rustc changes
Oliver Schneider [Tue, 25 Apr 2017 14:51:58 +0000 (16:51 +0200)]
Update for latest rustc changes

7 years agoMerge pull request #159 from dwrensha/is-freeze-needs-drop
Eduard-Mihai Burtescu [Sun, 23 Apr 2017 17:54:54 +0000 (20:54 +0300)]
Merge pull request #159 from dwrensha/is-freeze-needs-drop

update for latest rustc nightly

7 years agoupdate for latest rustc nightly: type_needs_drop_given_env() and type_contents()...
David Renshaw [Sun, 23 Apr 2017 17:45:04 +0000 (13:45 -0400)]
update for latest rustc nightly: type_needs_drop_given_env() and type_contents() are gone

7 years agoMerge pull request #156 from oli-obk/master
Eduard-Mihai Burtescu [Fri, 21 Apr 2017 11:23:37 +0000 (14:23 +0300)]
Merge pull request #156 from oli-obk/master

Use rustc generated shims instead of interpreter hacks

7 years agoImport EvalError in lvalue.
Eduard-Mihai Burtescu [Fri, 21 Apr 2017 11:02:12 +0000 (14:02 +0300)]
Import EvalError in lvalue.

7 years agoHandle Use of ! as Unreachable is not emitted nowadays.
Eduard-Mihai Burtescu [Fri, 21 Apr 2017 10:56:44 +0000 (13:56 +0300)]
Handle Use of ! as Unreachable is not emitted nowadays.

7 years agoUpdate for changes in LocalDecl on nightly.
Eduard-Mihai Burtescu [Fri, 21 Apr 2017 10:27:09 +0000 (13:27 +0300)]
Update for changes in LocalDecl on nightly.

7 years agoUpdate byteorder commit hash in Cargo.lock.
Eduard-Mihai Burtescu [Thu, 20 Apr 2017 06:46:43 +0000 (09:46 +0300)]
Update byteorder commit hash in Cargo.lock.

7 years agoCleanup the diff
Oliver Schneider [Wed, 29 Mar 2017 07:10:05 +0000 (09:10 +0200)]
Cleanup the diff

7 years agoRustup to `rustc 1.17.0-nightly (7846dbe0c 2017-03-26)`
Oliver Schneider [Mon, 27 Mar 2017 08:13:21 +0000 (10:13 +0200)]
Rustup to `rustc 1.17.0-nightly (7846dbe0c 2017-03-26)`

7 years agoAdd regression test for bad substs
Oliver Schneider [Fri, 24 Mar 2017 08:03:19 +0000 (09:03 +0100)]
Add regression test for bad substs

7 years agoThinify the fat pointer on virtual function calls
Oliver Schneider [Thu, 23 Mar 2017 17:32:57 +0000 (18:32 +0100)]
Thinify the fat pointer on virtual function calls

7 years agoFix casting generic functions to concrete function pointers
Oliver Schneider [Thu, 23 Mar 2017 16:57:40 +0000 (17:57 +0100)]
Fix casting generic functions to concrete function pointers

7 years ago`print` doesn't add a stack frame, so don't write arguments
Oliver Schneider [Thu, 23 Mar 2017 16:36:10 +0000 (17:36 +0100)]
`print` doesn't add a stack frame, so don't write arguments

7 years agoAdd regression test for single field by val tuples
Oliver Schneider [Thu, 23 Mar 2017 15:13:01 +0000 (16:13 +0100)]
Add regression test for single field by val tuples

7 years agoFix single field by val tuples
Oliver Schneider [Thu, 23 Mar 2017 15:09:36 +0000 (16:09 +0100)]
Fix single field by val tuples

7 years agoTry to fix travis
Oliver Schneider [Thu, 23 Mar 2017 14:52:11 +0000 (15:52 +0100)]
Try to fix travis

7 years agoReduce noisyness
Oliver Schneider [Thu, 23 Mar 2017 14:52:02 +0000 (15:52 +0100)]
Reduce noisyness

7 years agoMerge branch 'master' of https://github.com/tsion/miri
Oliver Schneider [Thu, 23 Mar 2017 14:40:47 +0000 (15:40 +0100)]
Merge branch 'master' of https://github.com/tsion/miri

7 years agoSkip the transmute checks for closure glue
Oliver Schneider [Thu, 23 Mar 2017 14:23:53 +0000 (15:23 +0100)]
Skip the transmute checks for closure glue

7 years agoReintroduce fn ptr transmute check
Oliver Schneider [Thu, 23 Mar 2017 14:17:02 +0000 (15:17 +0100)]
Reintroduce fn ptr transmute check

7 years agoFix manual rust-call impls
Oliver Schneider [Thu, 23 Mar 2017 14:07:33 +0000 (15:07 +0100)]
Fix manual rust-call impls

7 years agoFix virtual function calls
Oliver Schneider [Thu, 23 Mar 2017 13:57:11 +0000 (14:57 +0100)]
Fix virtual function calls

7 years agoFix virtual function calls
Oliver Schneider [Thu, 23 Mar 2017 13:24:02 +0000 (14:24 +0100)]
Fix virtual function calls

7 years agoRefactor function calls
Oliver Schneider [Thu, 23 Mar 2017 12:36:13 +0000 (13:36 +0100)]
Refactor function calls

7 years agoReuse more rustc code instead of copying it into miri
Oliver Schneider [Thu, 23 Mar 2017 12:35:19 +0000 (13:35 +0100)]
Reuse more rustc code instead of copying it into miri

7 years agoFix function pointer calls
Oliver Schneider [Thu, 23 Mar 2017 09:04:08 +0000 (10:04 +0100)]
Fix function pointer calls

7 years agoMerge pull request #155 from dwrensha/feature-gates
Scott Olson [Thu, 23 Mar 2017 02:45:12 +0000 (19:45 -0700)]
Merge pull request #155 from dwrensha/feature-gates

remove feature opt-ins that are no longer needed

7 years agoremove feature opt-ins that are no longer needed
David Renshaw [Wed, 22 Mar 2017 22:59:26 +0000 (18:59 -0400)]
remove feature opt-ins that are no longer needed

7 years agoRefactor drop into its own module and fix Vec
Oliver Schneider [Wed, 22 Mar 2017 17:31:41 +0000 (18:31 +0100)]
Refactor drop into its own module and fix Vec

7 years agoDropping slices works again
Oliver Schneider [Wed, 22 Mar 2017 16:51:43 +0000 (17:51 +0100)]
Dropping slices works again

7 years agoDropping trait objects works again
Oliver Schneider [Wed, 22 Mar 2017 16:48:16 +0000 (17:48 +0100)]
Dropping trait objects works again

7 years agoDropping arrays works again
Oliver Schneider [Wed, 22 Mar 2017 16:32:20 +0000 (17:32 +0100)]
Dropping arrays works again

7 years agoRoll our own MIR for dropping arrays.
Oliver Schneider [Wed, 22 Mar 2017 15:16:23 +0000 (16:16 +0100)]
Roll our own MIR for dropping arrays.

7 years agoFix drop terminator
Oliver Schneider [Wed, 22 Mar 2017 13:19:29 +0000 (14:19 +0100)]
Fix drop terminator

7 years agoClosures work again
Oliver Schneider [Wed, 22 Mar 2017 12:13:52 +0000 (13:13 +0100)]
Closures work again

7 years agoMerge pull request #154 from dwrensha/update-rustc
Scott Olson [Tue, 21 Mar 2017 20:00:39 +0000 (13:00 -0700)]
Merge pull request #154 from dwrensha/update-rustc

partially update for latest rustc nightly

7 years agoast::Attribute no longer has a 'value' field
David Renshaw [Tue, 21 Mar 2017 15:04:49 +0000 (11:04 -0400)]
ast::Attribute no longer has a 'value' field

7 years agoCompiles again
Oliver Schneider [Tue, 21 Mar 2017 12:53:55 +0000 (13:53 +0100)]
Compiles again

7 years agoRustup to rustc 1.17.0-nightly (134c4a0f0 2017-03-20)
Oliver Schneider [Tue, 21 Mar 2017 08:21:51 +0000 (09:21 +0100)]
Rustup to rustc 1.17.0-nightly (134c4a0f0 2017-03-20)

7 years agoMerge pull request #152 from oli-obk/intrinsics
Scott Olson [Tue, 14 Mar 2017 20:35:51 +0000 (13:35 -0700)]
Merge pull request #152 from oli-obk/intrinsics

Intrinsics and overflow

7 years agoMerge pull request #146 from oli-obk/peephole1
Scott Olson [Tue, 14 Mar 2017 16:57:02 +0000 (09:57 -0700)]
Merge pull request #146 from oli-obk/peephole1

[Peephole Optimization 1/n] Don't allocate for structs with a single primval field

7 years agoMerge pull request #147 from oli-obk/rustup
Scott Olson [Tue, 14 Mar 2017 16:49:40 +0000 (09:49 -0700)]
Merge pull request #147 from oli-obk/rustup

rustup to rustc 1.17.0-nightly (60a0edc6c 2017-02-26)

7 years agoDon't unconditionally mask bitshift rhs
Oliver Schneider [Tue, 14 Mar 2017 13:24:16 +0000 (14:24 +0100)]
Don't unconditionally mask bitshift rhs

7 years agoImplement more atomic intrinsics
Oliver Schneider [Tue, 14 Mar 2017 12:05:51 +0000 (13:05 +0100)]
Implement more atomic intrinsics

7 years agoImplement more float intrinsics
Oliver Schneider [Tue, 14 Mar 2017 11:35:38 +0000 (12:35 +0100)]
Implement more float intrinsics

7 years agoFix warnings in unit test
Oliver Schneider [Tue, 14 Mar 2017 10:14:53 +0000 (11:14 +0100)]
Fix warnings in unit test

7 years agoAdd a method that hides the lifetime erasing boilerplate
Oliver Schneider [Tue, 14 Mar 2017 10:12:59 +0000 (11:12 +0100)]
Add a method that hides the lifetime erasing boilerplate

7 years agoI say we take off and nuke the lifetimes from orbit
Oliver Schneider [Tue, 14 Mar 2017 09:49:22 +0000 (10:49 +0100)]
I say we take off and nuke the lifetimes from orbit

7 years agoUse deterministic keyword renaming (append `_`)
Oliver Schneider [Tue, 14 Mar 2017 08:23:15 +0000 (09:23 +0100)]
Use deterministic keyword renaming (append `_`)

7 years agoMerge pull request #149 from dwrensha/check-align-argument-order
Scott Olson [Tue, 14 Mar 2017 01:13:16 +0000 (18:13 -0700)]
Merge pull request #149 from dwrensha/check-align-argument-order

fix argument order on check_align()

7 years agofix argument order on check_align
David Renshaw [Tue, 14 Mar 2017 01:07:25 +0000 (21:07 -0400)]
fix argument order on check_align

7 years agoMerge pull request #148 from dwrensha/write-bytes-intrinsic
Scott Olson [Tue, 14 Mar 2017 00:59:23 +0000 (17:59 -0700)]
Merge pull request #148 from dwrensha/write-bytes-intrinsic

implement the write_bytes() intrinsic

7 years agosimplify write_bytes() by using memory.write_repeat()
David Renshaw [Tue, 14 Mar 2017 00:47:08 +0000 (20:47 -0400)]
simplify write_bytes() by using memory.write_repeat()

7 years agoadd write_bytes() test for a larger-than-u128 struct
David Renshaw [Tue, 14 Mar 2017 00:33:23 +0000 (20:33 -0400)]
add write_bytes() test for a larger-than-u128 struct

7 years agowrite_bytes(): fix handling of types that are larger than u128
David Renshaw [Tue, 14 Mar 2017 00:32:43 +0000 (20:32 -0400)]
write_bytes(): fix handling of types that are larger than u128

7 years agoadd write-bytes test
David Renshaw [Mon, 13 Mar 2017 23:40:48 +0000 (19:40 -0400)]
add write-bytes test

7 years agoimplement write_bytes intrinsic
David Renshaw [Mon, 13 Mar 2017 23:28:29 +0000 (19:28 -0400)]
implement write_bytes intrinsic

7 years agoRustup to rustc 1.17.0-nightly (824c9ebbd 2017-03-12)
Oliver Schneider [Mon, 13 Mar 2017 10:28:45 +0000 (11:28 +0100)]
Rustup to rustc 1.17.0-nightly (824c9ebbd 2017-03-12)

7 years agoRustup to rustc 1.17.0-nightly (b1e31766d 2017-03-03)
Oliver Schneider [Tue, 7 Mar 2017 11:49:56 +0000 (12:49 +0100)]
Rustup to rustc 1.17.0-nightly (b1e31766d 2017-03-03)

7 years agoRustup to rustc 1.17.0-nightly (be760566c 2017-02-28)
Oliver Schneider [Thu, 2 Mar 2017 12:11:33 +0000 (13:11 +0100)]
Rustup to rustc 1.17.0-nightly (be760566c 2017-02-28)

7 years agorustup to rustc 1.17.0-nightly (60a0edc6c 2017-02-26)
Oliver Schneider [Tue, 28 Feb 2017 11:35:00 +0000 (12:35 +0100)]
rustup to rustc 1.17.0-nightly (60a0edc6c 2017-02-26)

7 years agoMerge pull request #145 from oli-obk/zst_bug2
Scott Olson [Fri, 24 Feb 2017 12:14:04 +0000 (04:14 -0800)]
Merge pull request #145 from oli-obk/zst_bug2

drop zst fields of null pointer optimized structs and enums

7 years agoMerge pull request #144 from oli-obk/vtable_refactor2
Scott Olson [Fri, 24 Feb 2017 10:57:07 +0000 (02:57 -0800)]
Merge pull request #144 from oli-obk/vtable_refactor2

move all code accessing vtable internals into the `trait` module

7 years agoMerge pull request #142 from oli-obk/memleak
Scott Olson [Fri, 24 Feb 2017 10:05:41 +0000 (02:05 -0800)]
Merge pull request #142 from oli-obk/memleak

Memleak

7 years agoMerge pull request #143 from oli-obk/master
Scott Olson [Fri, 24 Feb 2017 10:04:40 +0000 (02:04 -0800)]
Merge pull request #143 from oli-obk/master

rustup

7 years agodon't allocate for primvals
Oliver Schneider [Wed, 15 Feb 2017 10:00:29 +0000 (11:00 +0100)]
don't allocate for primvals

7 years agodrop zst fields of null pointer optimized structs and enums
Oliver Schneider [Wed, 15 Feb 2017 09:56:02 +0000 (10:56 +0100)]
drop zst fields of null pointer optimized structs and enums

fixes #25

7 years agomove all code accessing vtable internals into the `trait` module
Oliver Schneider [Wed, 15 Feb 2017 08:35:43 +0000 (09:35 +0100)]
move all code accessing vtable internals into the `trait` module

fixes #124

7 years agorepresent single field structs as their single field
Oliver Schneider [Tue, 14 Feb 2017 09:59:38 +0000 (10:59 +0100)]
represent single field structs as their single field

7 years agoMerge `move_fn_closure` run-passtest into `closure-drop`
Oliver Schneider [Fri, 24 Feb 2017 09:42:11 +0000 (10:42 +0100)]
Merge `move_fn_closure` run-passtest into `closure-drop`

7 years agoadd test with an Rc cycle to create a memleak
Oliver Schneider [Wed, 15 Feb 2017 15:38:27 +0000 (16:38 +0100)]
add test with an Rc cycle to create a memleak

7 years agoadd a test for the memory leak error
Oliver Schneider [Wed, 15 Feb 2017 08:03:07 +0000 (09:03 +0100)]
add a test for the memory leak error

7 years agowrite_primval used to leak memory if the destination was ByRef
Oliver Schneider [Tue, 14 Feb 2017 15:56:21 +0000 (16:56 +0100)]
write_primval used to leak memory if the destination was ByRef

instead of duplicating all the code from `write_value`, we forward to it.

7 years agoremove memory leak from run-pass test
Oliver Schneider [Tue, 14 Feb 2017 15:55:30 +0000 (16:55 +0100)]
remove memory leak from run-pass test

7 years agodetect memory leaks
Oliver Schneider [Tue, 14 Feb 2017 14:35:13 +0000 (15:35 +0100)]
detect memory leaks

7 years agodrop all temporary closure allocations
Oliver Schneider [Tue, 14 Feb 2017 14:35:03 +0000 (15:35 +0100)]
drop all temporary closure allocations

7 years agorustup
Oliver Schneider [Fri, 24 Feb 2017 09:39:55 +0000 (10:39 +0100)]
rustup

7 years agoMerge pull request #141 from oli-obk/bug1
Scott Olson [Fri, 24 Feb 2017 02:06:12 +0000 (18:06 -0800)]
Merge pull request #141 from oli-obk/bug1

fix a bug in drop code of structs with unsized fields

7 years agoMerge pull request #140 from oli-obk/master
Scott Olson [Fri, 24 Feb 2017 02:00:39 +0000 (18:00 -0800)]
Merge pull request #140 from oli-obk/master

deduplicate field access logic

7 years agorustup
Oliver Schneider [Tue, 14 Feb 2017 09:17:00 +0000 (10:17 +0100)]
rustup

7 years agofix a bug in drop code of structs with unsized fields
Oliver Schneider [Tue, 14 Feb 2017 11:48:46 +0000 (12:48 +0100)]
fix a bug in drop code of structs with unsized fields

7 years agorustup
Oliver Schneider [Tue, 14 Feb 2017 09:17:00 +0000 (10:17 +0100)]
rustup

7 years agodon't duplicate field access logic, always go through lvalue_field
Oliver Schneider [Mon, 13 Feb 2017 10:58:42 +0000 (11:58 +0100)]
don't duplicate field access logic, always go through lvalue_field

7 years agofast path for zsts
Oliver Schneider [Mon, 13 Feb 2017 12:46:39 +0000 (13:46 +0100)]
fast path for zsts

7 years agoRemove stable feature flag.
Scott Olson [Fri, 10 Feb 2017 23:13:50 +0000 (15:13 -0800)]
Remove stable feature flag.

7 years agoAdd test for closure drop.
Scott Olson [Fri, 10 Feb 2017 23:05:29 +0000 (15:05 -0800)]
Add test for closure drop.

7 years agoDo drop glue for closures.
Scott Olson [Fri, 10 Feb 2017 22:54:14 +0000 (14:54 -0800)]
Do drop glue for closures.

7 years agoFix fabsf{32,64} intrinsics.
Scott Olson [Fri, 10 Feb 2017 22:53:56 +0000 (14:53 -0800)]
Fix fabsf{32,64} intrinsics.

7 years agoFormatting.
Scott Olson [Fri, 10 Feb 2017 21:35:45 +0000 (13:35 -0800)]
Formatting.

7 years agoCache string and bytestring literal allocs.
Scott Olson [Fri, 10 Feb 2017 21:35:33 +0000 (13:35 -0800)]
Cache string and bytestring literal allocs.