]> git.lizzy.rs Git - rust.git/log
rust.git
5 years agoupdate for ptr provenance
Ralf Jung [Fri, 5 Oct 2018 16:08:50 +0000 (18:08 +0200)]
update for ptr provenance

5 years agoMerge pull request #470 from RalfJung/ptr-offset
Ralf Jung [Wed, 10 Oct 2018 09:28:33 +0000 (11:28 +0200)]
Merge pull request #470 from RalfJung/ptr-offset

only allow 0-offset on integer pointers

5 years agoMerge branch 'master' into ptr-offset
Ralf Jung [Wed, 10 Oct 2018 08:03:34 +0000 (10:03 +0200)]
Merge branch 'master' into ptr-offset

5 years agoMerge pull request #467 from solson/rustup
Ralf Jung [Wed, 10 Oct 2018 08:03:22 +0000 (10:03 +0200)]
Merge pull request #467 from solson/rustup

rustup; test for return type mismatch

5 years agoMerge branch 'master' into rustup
Ralf Jung [Wed, 10 Oct 2018 07:43:23 +0000 (09:43 +0200)]
Merge branch 'master' into rustup

5 years agoMerge pull request #471 from RalfJung/vergen
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Wed, 10 Oct 2018 07:09:08 +0000 (09:09 +0200)]
Merge pull request #471 from RalfJung/vergen

update to vergen 3

5 years agobump toolchain
Ralf Jung [Wed, 10 Oct 2018 07:08:03 +0000 (09:08 +0200)]
bump toolchain

5 years agoMerge remote-tracking branch 'origin/master' into rustup
Ralf Jung [Wed, 10 Oct 2018 07:07:26 +0000 (09:07 +0200)]
Merge remote-tracking branch 'origin/master' into rustup

5 years agoupdate to vergen 3
Ralf Jung [Tue, 9 Oct 2018 18:17:54 +0000 (20:17 +0200)]
update to vergen 3

5 years ago0-offset is also not always okay
Ralf Jung [Mon, 8 Oct 2018 09:22:52 +0000 (11:22 +0200)]
0-offset is also not always okay

5 years agoonly allow offset-by-0 on integer pointers
Ralf Jung [Mon, 8 Oct 2018 08:22:26 +0000 (10:22 +0200)]
only allow offset-by-0 on integer pointers

5 years agofix for fn allocations now having an alignment (1) and a size (0)
Ralf Jung [Mon, 8 Oct 2018 11:35:54 +0000 (13:35 +0200)]
fix for fn allocations now having an alignment (1) and a size (0)

5 years agoMerge pull request #469 from RalfJung/ptr-offset
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Mon, 8 Oct 2018 06:18:11 +0000 (08:18 +0200)]
Merge pull request #469 from RalfJung/ptr-offset

ensure that we cannot use (wrapping_)offset to go from an int ptr to a real ptr

5 years agouse Box::into_raw
Ralf Jung [Sun, 7 Oct 2018 08:35:34 +0000 (10:35 +0200)]
use Box::into_raw

5 years agoensure that we cannot use (wrapping_)offset to go from an int ptr to a real ptr
Ralf Jung [Sat, 6 Oct 2018 16:32:39 +0000 (18:32 +0200)]
ensure that we cannot use (wrapping_)offset to go from an int ptr to a real ptr

5 years agorustup; test for return type mismatch
Ralf Jung [Tue, 2 Oct 2018 19:16:55 +0000 (21:16 +0200)]
rustup; test for return type mismatch

5 years agoMerge pull request #466 from solson/rustup
Ralf Jung [Tue, 2 Oct 2018 08:00:31 +0000 (10:00 +0200)]
Merge pull request #466 from solson/rustup

rustup

5 years agorustup
Ralf Jung [Tue, 2 Oct 2018 07:25:55 +0000 (09:25 +0200)]
rustup

5 years agoMerge pull request #464 from RalfJung/travis
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer [Mon, 1 Oct 2018 11:09:38 +0000 (13:09 +0200)]
Merge pull request #464 from RalfJung/travis

update CI

5 years agoupdate CI: Avoid downloading Rust twice
Ralf Jung [Mon, 1 Oct 2018 10:32:22 +0000 (12:32 +0200)]
update CI: Avoid downloading Rust twice

5 years agoMerge pull request #462 from RalfJung/needs-drop
Ralf Jung [Mon, 1 Oct 2018 07:19:46 +0000 (09:19 +0200)]
Merge pull request #462 from RalfJung/needs-drop

remove needs_drop impl

5 years agomove 'cargo miri' test down so it is not the first thing testing start-fn
Ralf Jung [Mon, 1 Oct 2018 06:27:03 +0000 (08:27 +0200)]
move 'cargo miri' test down so it is not the first thing testing start-fn

5 years agoremove needs_drop impl
Ralf Jung [Mon, 1 Oct 2018 06:24:42 +0000 (08:24 +0200)]
remove needs_drop impl

5 years agoMerge pull request #461 from solson/rustup
Ralf Jung [Sat, 29 Sep 2018 18:02:32 +0000 (20:02 +0200)]
Merge pull request #461 from solson/rustup

fix test for latest rustc

5 years agofix test for latest rustc
Ralf Jung [Sat, 29 Sep 2018 17:39:34 +0000 (19:39 +0200)]
fix test for latest rustc

5 years agoMerge pull request #459 from solson/rustup
Ralf Jung [Mon, 24 Sep 2018 21:34:34 +0000 (23:34 +0200)]
Merge pull request #459 from solson/rustup

Rustup

5 years agobump toolchain
Ralf Jung [Mon, 24 Sep 2018 21:01:12 +0000 (23:01 +0200)]
bump toolchain

5 years agoMerge remote-tracking branch 'origin/master' into rustup
Ralf Jung [Mon, 24 Sep 2018 21:00:58 +0000 (23:00 +0200)]
Merge remote-tracking branch 'origin/master' into rustup

5 years agoMerge pull request #460 from RalfJung/static-mut
Ralf Jung [Mon, 24 Sep 2018 20:57:59 +0000 (22:57 +0200)]
Merge pull request #460 from RalfJung/static-mut

Test mutating a non-mut static with interior mutability

5 years agotest mutating a non-mut static with interior mutability
Ralf Jung [Sun, 23 Sep 2018 07:14:55 +0000 (09:14 +0200)]
test mutating a non-mut static with interior mutability

5 years agoMerge pull request #457 from RalfJung/field-align
Ralf Jung [Sat, 22 Sep 2018 07:53:48 +0000 (09:53 +0200)]
Merge pull request #457 from RalfJung/field-align

test for interestingly aligned field access

5 years agobump toolchain
Ralf Jung [Sat, 22 Sep 2018 06:44:38 +0000 (08:44 +0200)]
bump toolchain

5 years agotest for interestingly aligned field access
Ralf Jung [Mon, 17 Sep 2018 16:05:36 +0000 (18:05 +0200)]
test for interestingly aligned field access

5 years agorustup
Ralf Jung [Thu, 20 Sep 2018 10:24:55 +0000 (12:24 +0200)]
rustup

5 years agoMerge pull request #458 from RalfJung/tls
Eduard-Mihai Burtescu [Wed, 19 Sep 2018 23:31:34 +0000 (02:31 +0300)]
Merge pull request #458 from RalfJung/tls

Move TLS data to machine data

5 years agoMove TLS data to machine data
Ralf Jung [Wed, 19 Sep 2018 23:00:59 +0000 (01:00 +0200)]
Move TLS data to machine data

There is no good reason to let the machine store stuff in the machine *and* in memory. I plan to get rid of the latter.

5 years agoMerge pull request #453 from RalfJung/zst
Ralf Jung [Tue, 18 Sep 2018 07:05:58 +0000 (09:05 +0200)]
Merge pull request #453 from RalfJung/zst

ZST pointers and pointer equality

5 years agoupdate toolchain
Ralf Jung [Tue, 18 Sep 2018 06:32:23 +0000 (08:32 +0200)]
update toolchain

5 years agomore compile-fail ptr equality tests, to rule out any non-determinism; and fix ptr...
Ralf Jung [Sat, 15 Sep 2018 15:12:48 +0000 (17:12 +0200)]
more compile-fail ptr equality tests, to rule out any non-determinism; and fix ptr equality to fail all of them.

At least these are the cases I can think of right now.

5 years agotest more operations on dangling ZST pointers
Ralf Jung [Sat, 15 Sep 2018 14:35:37 +0000 (16:35 +0200)]
test more operations on dangling ZST pointers

5 years agoMerge pull request #456 from solson/rustup
Ralf Jung [Mon, 17 Sep 2018 08:01:44 +0000 (10:01 +0200)]
Merge pull request #456 from solson/rustup

fix test for rustup

5 years agofix test for rustup
Ralf Jung [Mon, 17 Sep 2018 07:18:57 +0000 (09:18 +0200)]
fix test for rustup

5 years agoMerge pull request #446 from RalfJung/zero-sized-accesses
Ralf Jung [Mon, 17 Sep 2018 07:15:36 +0000 (09:15 +0200)]
Merge pull request #446 from RalfJung/zero-sized-accesses

Strictly enforce pointer validity even for zero-sized accesses

5 years agobump toolchain
Ralf Jung [Mon, 17 Sep 2018 06:40:17 +0000 (08:40 +0200)]
bump toolchain

5 years agoMerge remote-tracking branch 'origin/master' into zero-sized-accesses
Ralf Jung [Mon, 17 Sep 2018 06:39:59 +0000 (08:39 +0200)]
Merge remote-tracking branch 'origin/master' into zero-sized-accesses

5 years agoadd some compile-fail tests
Ralf Jung [Sun, 16 Sep 2018 14:47:37 +0000 (16:47 +0200)]
add some compile-fail tests

5 years agoMerge pull request #455 from RalfJung/cargo-miri-version
Ralf Jung [Sun, 16 Sep 2018 13:37:52 +0000 (15:37 +0200)]
Merge pull request #455 from RalfJung/cargo-miri-version

cargo miri: show version number

5 years agocargo miri: show version number
Ralf Jung [Sun, 16 Sep 2018 13:06:05 +0000 (15:06 +0200)]
cargo miri: show version number

5 years agoMerge pull request #451 from TimDiekmann/master
Ralf Jung [Sat, 15 Sep 2018 11:52:20 +0000 (13:52 +0200)]
Merge pull request #451 from TimDiekmann/master

Remove unchecked_shr/shl from intrinsics

5 years agobump Rust
Ralf Jung [Sat, 15 Sep 2018 08:31:20 +0000 (10:31 +0200)]
bump Rust

5 years agomove MemoryData to memory.rs; remove all the Hashing stuff
Ralf Jung [Sun, 9 Sep 2018 08:57:39 +0000 (10:57 +0200)]
move MemoryData to memory.rs; remove all the Hashing stuff

5 years agoRemove (overflowing_)add/mul/sub(_with_overflow)
Tim [Thu, 6 Sep 2018 14:49:08 +0000 (16:49 +0200)]
Remove (overflowing_)add/mul/sub(_with_overflow)

5 years agoRemove unchecked_shr/shl from intrinsics
Tim [Thu, 6 Sep 2018 14:07:13 +0000 (16:07 +0200)]
Remove unchecked_shr/shl from intrinsics

5 years agoMerge pull request #448 from TheDarkula/master
Ralf Jung [Sat, 1 Sep 2018 10:28:56 +0000 (12:28 +0200)]
Merge pull request #448 from TheDarkula/master

Removed transmute from intrinsic.rs

5 years agoMerge branch 'master' into master
Ralf Jung [Sat, 1 Sep 2018 09:47:52 +0000 (11:47 +0200)]
Merge branch 'master' into master

5 years agoRemoved transmute from intrinsic.rs
thedarkula [Thu, 30 Aug 2018 20:06:53 +0000 (21:06 +0100)]
Removed transmute from intrinsic.rs

5 years agoMerge pull request #445 from solson/rustup
Ralf Jung [Sat, 1 Sep 2018 09:46:01 +0000 (11:46 +0200)]
Merge pull request #445 from solson/rustup

Rustup

5 years agomore permissive pointer comparison logic
Ralf Jung [Sat, 1 Sep 2018 09:26:54 +0000 (11:26 +0200)]
more permissive pointer comparison logic

5 years agoMerge branch 'master' into rustup
Ralf Jung [Sat, 1 Sep 2018 08:35:19 +0000 (10:35 +0200)]
Merge branch 'master' into rustup

5 years agobump toolchain
Ralf Jung [Sat, 1 Sep 2018 08:33:53 +0000 (10:33 +0200)]
bump toolchain

5 years agoMerge pull request #444 from RalfJung/windows
Ralf Jung [Fri, 31 Aug 2018 06:32:31 +0000 (08:32 +0200)]
Merge pull request #444 from RalfJung/windows

Unignore a bunch of tests that actually work

5 years agounignore a bunch of tests that actually work
Ralf Jung [Thu, 30 Aug 2018 13:57:17 +0000 (15:57 +0200)]
unignore a bunch of tests that actually work

5 years agoalso allow comparing pointers with integers so big that they cannot be equal
Ralf Jung [Thu, 30 Aug 2018 09:04:48 +0000 (11:04 +0200)]
also allow comparing pointers with integers so big that they cannot be equal

5 years agostrictly enforce pointer validity even for zero-sized accesses
Ralf Jung [Thu, 30 Aug 2018 08:50:13 +0000 (10:50 +0200)]
strictly enforce pointer validity even for zero-sized accesses

5 years agoptr equality: only defined for ptrs in the same allocation and live ptrs
Ralf Jung [Tue, 28 Aug 2018 16:13:58 +0000 (18:13 +0200)]
ptr equality: only defined for ptrs in the same allocation and live ptrs

5 years agonew tests for new fn arg passing code
Ralf Jung [Mon, 27 Aug 2018 15:08:42 +0000 (17:08 +0200)]
new tests for new fn arg passing code

5 years agomove some more helpers to rustc
Ralf Jung [Sun, 26 Aug 2018 18:42:26 +0000 (20:42 +0200)]
move some more helpers to rustc

5 years agoMerge pull request #434 from solson/rustup
Oliver Schneider [Thu, 30 Aug 2018 08:31:05 +0000 (10:31 +0200)]
Merge pull request #434 from solson/rustup

rustup for big refactor; kill most of validation

5 years agono TLS dtor and no leak checks on macOS
Ralf Jung [Thu, 30 Aug 2018 07:41:57 +0000 (09:41 +0200)]
no TLS dtor and no leak checks on macOS

5 years agopretend mprotect works
Ralf Jung [Thu, 30 Aug 2018 07:22:01 +0000 (09:22 +0200)]
pretend mprotect works

5 years agono RwLock on Windows
Ralf Jung [Thu, 30 Aug 2018 07:20:08 +0000 (09:20 +0200)]
no RwLock on Windows

5 years agostack address functions for macOS
Ralf Jung [Thu, 30 Aug 2018 07:04:57 +0000 (09:04 +0200)]
stack address functions for macOS

5 years agoignore memory leaks on Windows
Ralf Jung [Thu, 30 Aug 2018 06:57:33 +0000 (08:57 +0200)]
ignore memory leaks on Windows

5 years agopthreads test needs full MIR on Windows
Ralf Jung [Thu, 30 Aug 2018 06:33:38 +0000 (08:33 +0200)]
pthreads test needs full MIR on Windows

5 years agoVecDeque now requries full MIR; update to new nightly
Ralf Jung [Thu, 30 Aug 2018 06:21:05 +0000 (08:21 +0200)]
VecDeque now requries full MIR; update to new nightly

5 years agosome unary operator tests
Ralf Jung [Sun, 26 Aug 2018 18:42:02 +0000 (20:42 +0200)]
some unary operator tests

5 years agosmall test for extern_type
Ralf Jung [Sun, 26 Aug 2018 12:34:21 +0000 (14:34 +0200)]
small test for extern_type

5 years agoupdate for MUT_STATIC_KIND
Ralf Jung [Sun, 26 Aug 2018 11:19:03 +0000 (13:19 +0200)]
update for MUT_STATIC_KIND

5 years agorustup
Ralf Jung [Sat, 25 Aug 2018 19:22:06 +0000 (21:22 +0200)]
rustup

5 years agoupdate for enum discriminant changes
Ralf Jung [Sat, 25 Aug 2018 09:07:21 +0000 (11:07 +0200)]
update for enum discriminant changes

5 years agotest VecDeque
Ralf Jung [Fri, 24 Aug 2018 17:50:31 +0000 (19:50 +0200)]
test VecDeque

5 years agorustup
Ralf Jung [Fri, 24 Aug 2018 17:49:57 +0000 (19:49 +0200)]
rustup

5 years agoupdate for bool/char being checked at binops
Ralf Jung [Fri, 24 Aug 2018 17:18:21 +0000 (19:18 +0200)]
update for bool/char being checked at binops

5 years agorustup
Ralf Jung [Fri, 24 Aug 2018 15:44:04 +0000 (17:44 +0200)]
rustup

5 years agofix leaks with -Zmiri-start-fn
Ralf Jung [Thu, 23 Aug 2018 19:22:57 +0000 (21:22 +0200)]
fix leaks with -Zmiri-start-fn

5 years agoupdate for miri engine: new function handling, new static handling, fixed leaks
Ralf Jung [Thu, 23 Aug 2018 17:28:48 +0000 (19:28 +0200)]
update for miri engine: new function handling, new static handling, fixed leaks

5 years agofix type renaming
Ralf Jung [Thu, 23 Aug 2018 07:29:27 +0000 (09:29 +0200)]
fix type renaming

5 years agoMerge remote-tracking branch 'origin/master'
Ralf Jung [Mon, 20 Aug 2018 16:57:48 +0000 (18:57 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agorustup
Ralf Jung [Mon, 20 Aug 2018 14:27:23 +0000 (16:27 +0200)]
rustup

5 years agoupdate for rustc memory changes; fix (un)init intrinsic for ZST
Ralf Jung [Sat, 18 Aug 2018 09:59:28 +0000 (11:59 +0200)]
update for rustc memory changes; fix (un)init intrinsic for ZST

5 years agofix compilation after rustc change
Ralf Jung [Fri, 17 Aug 2018 07:36:53 +0000 (09:36 +0200)]
fix compilation after rustc change

5 years agoupdate for memory signedness removal; test some float casts
Ralf Jung [Thu, 16 Aug 2018 09:35:38 +0000 (11:35 +0200)]
update for memory signedness removal; test some float casts

5 years agorustup for big refactor; kill most of validation
Ralf Jung [Wed, 15 Aug 2018 19:01:40 +0000 (21:01 +0200)]
rustup for big refactor; kill most of validation

5 years agoMerge pull request #431 from RalfJung/packed
Oliver Schneider [Wed, 15 Aug 2018 07:24:01 +0000 (09:24 +0200)]
Merge pull request #431 from RalfJung/packed

Allow remainder on pointers, reenable packed-structs test

5 years agotweak test config in Cargo.toml
Ralf Jung [Tue, 14 Aug 2018 18:57:58 +0000 (20:57 +0200)]
tweak test config in Cargo.toml

5 years agofix int ptr ops on 32bit
Ralf Jung [Tue, 14 Aug 2018 18:25:56 +0000 (20:25 +0200)]
fix int ptr ops on 32bit

5 years agotest some more things around packed structs
Ralf Jung [Tue, 14 Aug 2018 18:09:07 +0000 (20:09 +0200)]
test some more things around packed structs

5 years agoadd a scary test case
Ralf Jung [Tue, 14 Aug 2018 16:51:15 +0000 (18:51 +0200)]
add a scary test case

5 years agofix modulo logic
Ralf Jung [Tue, 14 Aug 2018 10:16:29 +0000 (12:16 +0200)]
fix modulo logic

5 years agosupport computing the remainder of a ptr, if covered by alignment
Ralf Jung [Tue, 14 Aug 2018 18:00:18 +0000 (20:00 +0200)]
support computing the remainder of a ptr, if covered by alignment