]> git.lizzy.rs Git - rust.git/log
rust.git
5 years agoMerge pull request #717 from Eijebong/metadata
Ralf Jung [Sat, 27 Apr 2019 21:59:44 +0000 (23:59 +0200)]
Merge pull request #717 from Eijebong/metadata

Update cargo_metadata to 0.7

5 years agoUpdate cargo_metadata to 0.7
Bastien Orivel [Sat, 27 Apr 2019 21:31:48 +0000 (23:31 +0200)]
Update cargo_metadata to 0.7

5 years agoMerge pull request #716 from RalfJung/rustup
Ralf Jung [Sat, 27 Apr 2019 16:45:22 +0000 (18:45 +0200)]
Merge pull request #716 from RalfJung/rustup

fix HeapFree return value

5 years agofix HeapFree return value
Ralf Jung [Sat, 27 Apr 2019 16:21:10 +0000 (18:21 +0200)]
fix HeapFree return value

5 years agobump Rust
Ralf Jung [Tue, 23 Apr 2019 19:59:33 +0000 (21:59 +0200)]
bump Rust

5 years agoMerge pull request #714 from RalfJung/readme
Oliver Scherer [Fri, 26 Apr 2019 11:29:39 +0000 (13:29 +0200)]
Merge pull request #714 from RalfJung/readme

trophy case: add rand

5 years agotrophy case: add rand; separate definite bugs from stacked-borrows-is-not-yet-officia...
Ralf Jung [Fri, 26 Apr 2019 07:08:30 +0000 (09:08 +0200)]
trophy case: add rand; separate definite bugs from stacked-borrows-is-not-yet-official bugs

5 years agoMerge pull request #702 from RalfJung/exit
Oliver Scherer [Mon, 22 Apr 2019 14:41:35 +0000 (16:41 +0200)]
Merge pull request #702 from RalfJung/exit

implement exit

5 years agounify code paths
Ralf Jung [Mon, 22 Apr 2019 11:20:51 +0000 (13:20 +0200)]
unify code paths

5 years agoMerge branch 'master' into exit
Ralf Jung [Mon, 22 Apr 2019 09:35:36 +0000 (11:35 +0200)]
Merge branch 'master' into exit

5 years agoMerge pull request #709 from RalfJung/macos-rand
Ralf Jung [Mon, 22 Apr 2019 09:32:12 +0000 (11:32 +0200)]
Merge pull request #709 from RalfJung/macos-rand

implement SecRandomCopyBytes for macOS RNG

5 years agomake run-test runnable from other directories
Ralf Jung [Mon, 22 Apr 2019 09:11:06 +0000 (11:11 +0200)]
make run-test runnable from other directories

5 years agono need to allow any more
Ralf Jung [Mon, 22 Apr 2019 09:08:53 +0000 (11:08 +0200)]
no need to allow any more

5 years agogen_random: handle size 0 and writing to mem
Ralf Jung [Sun, 21 Apr 2019 20:57:58 +0000 (22:57 +0200)]
gen_random: handle size 0 and writing to mem

5 years agoimplement SecRandomCopyBytes for macOS RNG
Ralf Jung [Sun, 21 Apr 2019 19:37:06 +0000 (21:37 +0200)]
implement SecRandomCopyBytes for macOS RNG

5 years agoMerge pull request #710 from RalfJung/travis
Ralf Jung [Sun, 21 Apr 2019 22:27:22 +0000 (00:27 +0200)]
Merge pull request #710 from RalfJung/travis

Travis: test cargo miri on foreign arch

5 years agoTravis: test cargo miri on foreign arch
Ralf Jung [Sun, 21 Apr 2019 20:35:47 +0000 (22:35 +0200)]
Travis: test cargo miri on foreign arch

5 years agoMerge pull request #708 from RalfJung/alloc-tests
Ralf Jung [Sun, 21 Apr 2019 15:22:39 +0000 (17:22 +0200)]
Merge pull request #708 from RalfJung/alloc-tests

test System/Global allocator API: alloc_zeroed, realloc

5 years agoWindows: implement heap functions
Ralf Jung [Sun, 21 Apr 2019 12:34:30 +0000 (14:34 +0200)]
Windows: implement heap functions

5 years agotest System/Global allocator API: alloc_zeroed, realloc
Ralf Jung [Sun, 21 Apr 2019 11:43:53 +0000 (13:43 +0200)]
test System/Global allocator API: alloc_zeroed, realloc

5 years agoimplement ExitProcess for Windows
Ralf Jung [Sun, 21 Apr 2019 11:25:24 +0000 (13:25 +0200)]
implement ExitProcess for Windows

5 years agofix compile-fail ref files
Ralf Jung [Sun, 21 Apr 2019 11:18:05 +0000 (13:18 +0200)]
fix compile-fail ref files

5 years agoimplement exit
Ralf Jung [Fri, 19 Apr 2019 15:25:27 +0000 (17:25 +0200)]
implement exit

implement exit code via new error kind

5 years agoMerge pull request #704 from RalfJung/dev
Ralf Jung [Sun, 21 Apr 2019 10:23:54 +0000 (12:23 +0200)]
Merge pull request #704 from RalfJung/dev

Hopefully make it a bit easier to develop on Miri

5 years agoMerge branch 'master' into dev
Ralf Jung [Sun, 21 Apr 2019 08:57:49 +0000 (10:57 +0200)]
Merge branch 'master' into dev

5 years agoadd section on the no MIR error
Ralf Jung [Sat, 20 Apr 2019 16:36:43 +0000 (18:36 +0200)]
add section on the no MIR error

5 years agoMerge pull request #697 from RalfJung/linked-list
Ralf Jung [Fri, 19 Apr 2019 22:38:40 +0000 (00:38 +0200)]
Merge pull request #697 from RalfJung/linked-list

add LinkedList test and mention the bug Miri found there

5 years agobump Rust version
Ralf Jung [Fri, 19 Apr 2019 21:08:35 +0000 (23:08 +0200)]
bump Rust version

5 years agoadd LinkedList test and mention the bug Miri found there
Ralf Jung [Thu, 18 Apr 2019 09:54:21 +0000 (11:54 +0200)]
add LinkedList test and mention the bug Miri found there

5 years agoMerge pull request #703 from RalfJung/compiletest
Ralf Jung [Fri, 19 Apr 2019 17:56:47 +0000 (19:56 +0200)]
Merge pull request #703 from RalfJung/compiletest

bump compiletest

5 years agorewirte development part of README
Ralf Jung [Fri, 19 Apr 2019 17:53:42 +0000 (19:53 +0200)]
rewirte development part of README

5 years agowarn when cargo miri setup does not do anything
Ralf Jung [Fri, 19 Apr 2019 17:27:19 +0000 (19:27 +0200)]
warn when cargo miri setup does not do anything

5 years agobump compiletest
Ralf Jung [Fri, 19 Apr 2019 16:30:53 +0000 (18:30 +0200)]
bump compiletest

5 years agoMerge pull request #699 from RalfJung/stacked-borrows-2
Oliver Scherer [Fri, 19 Apr 2019 07:55:44 +0000 (09:55 +0200)]
Merge pull request #699 from RalfJung/stacked-borrows-2

test another version of 'creating a shared ref must not leak the Unique'

5 years agotest another version of 'creating a shared ref must not leak the Unique'
Ralf Jung [Fri, 19 Apr 2019 06:46:09 +0000 (08:46 +0200)]
test another version of 'creating a shared ref must not leak the Unique'

5 years agotwo-phase-borrow comment
Ralf Jung [Fri, 19 Apr 2019 06:36:05 +0000 (08:36 +0200)]
two-phase-borrow comment

5 years agoMerge pull request #698 from RalfJung/stacked-borrows-2
Ralf Jung [Thu, 18 Apr 2019 21:29:27 +0000 (23:29 +0200)]
Merge pull request #698 from RalfJung/stacked-borrows-2

test that creating a 2nd mutable ref from a NonNull invalidates the first

5 years agoMerge branch 'master' into stacked-borrows-2
Ralf Jung [Thu, 18 Apr 2019 17:28:25 +0000 (19:28 +0200)]
Merge branch 'master' into stacked-borrows-2

5 years agoMerge pull request #696 from TimDiekmann/realloc
Ralf Jung [Thu, 18 Apr 2019 15:21:04 +0000 (17:21 +0200)]
Merge pull request #696 from TimDiekmann/realloc

Add `realloc`

5 years agotry to fix Windows CI
Ralf Jung [Thu, 18 Apr 2019 14:44:43 +0000 (16:44 +0200)]
try to fix Windows CI

5 years agoremove some unneeded 'extern crate'
Ralf Jung [Thu, 18 Apr 2019 14:16:22 +0000 (16:16 +0200)]
remove some unneeded 'extern crate'

5 years agoAdd handling for `nullptr` and `size == 0`
Tim Diekmann [Thu, 18 Apr 2019 13:20:32 +0000 (15:20 +0200)]
Add handling for `nullptr` and `size == 0`

5 years agoCI: build with debug assertions
Ralf Jung [Thu, 18 Apr 2019 12:58:30 +0000 (14:58 +0200)]
CI: build with debug assertions

5 years agotest that creating a 2nd mutable ref from a NonNull invalidates the first
Ralf Jung [Thu, 18 Apr 2019 11:20:01 +0000 (13:20 +0200)]
test that creating a 2nd mutable ref from a NonNull invalidates the first

5 years agoFix for latest upstream update
Tim Diekmann [Thu, 18 Apr 2019 10:39:18 +0000 (12:39 +0200)]
Fix for latest upstream update

5 years agoMerge branch 'master' into realloc
Tim Diekmann [Thu, 18 Apr 2019 10:22:58 +0000 (12:22 +0200)]
Merge branch 'master' into realloc

5 years agoMerge pull request #695 from RalfJung/stacked-borrows-2
Ralf Jung [Thu, 18 Apr 2019 08:15:37 +0000 (10:15 +0200)]
Merge pull request #695 from RalfJung/stacked-borrows-2

Stacked borrows 2 (alpha 1)

5 years agoAdd `realloc`
Tim Diekmann [Wed, 17 Apr 2019 23:17:19 +0000 (01:17 +0200)]
Add `realloc`

5 years agoembrace find_map and some whitespace changes
Ralf Jung [Wed, 17 Apr 2019 14:25:38 +0000 (16:25 +0200)]
embrace find_map and some whitespace changes

5 years agoApply suggestions from code review
Oliver Scherer [Wed, 17 Apr 2019 14:22:33 +0000 (16:22 +0200)]
Apply suggestions from code review

Co-Authored-By: RalfJung <post@ralfj.de>
5 years agomore tests -- also one showing why we are not done yet
Ralf Jung [Wed, 17 Apr 2019 14:02:42 +0000 (16:02 +0200)]
more tests -- also one showing why we are not done yet

5 years agobump Rust
Ralf Jung [Wed, 17 Apr 2019 13:23:20 +0000 (15:23 +0200)]
bump Rust

5 years agoadd tests for fixes: sharing no longer leaks, and we can handle entering interior...
Ralf Jung [Wed, 17 Apr 2019 13:20:33 +0000 (15:20 +0200)]
add tests for fixes: sharing no longer leaks, and we can handle entering interior mutability

5 years agobarriers are dead, long live protectors -- this enables overlapping two-phase borrows!
Ralf Jung [Wed, 17 Apr 2019 12:57:13 +0000 (14:57 +0200)]
barriers are dead, long live protectors -- this enables overlapping two-phase borrows!

5 years agotest creating two raw pointers from the same mutable ref
Ralf Jung [Wed, 17 Apr 2019 12:28:45 +0000 (14:28 +0200)]
test creating two raw pointers from the same mutable ref

5 years agoabstract mapping over all the stacks in some memory range
Ralf Jung [Wed, 17 Apr 2019 12:23:21 +0000 (14:23 +0200)]
abstract mapping over all the stacks in some memory range

5 years agolet the permission of a new pointer depend on the type only
Ralf Jung [Wed, 17 Apr 2019 06:42:41 +0000 (08:42 +0200)]
let the permission of a new pointer depend on the type only

5 years agoorganize stacked borrows run-pass tests
Ralf Jung [Wed, 17 Apr 2019 06:35:06 +0000 (08:35 +0200)]
organize stacked borrows run-pass tests

5 years agotry to test the problematic cast-to-raw case... unfortunately with the implicit rebor...
Ralf Jung [Wed, 17 Apr 2019 06:25:21 +0000 (08:25 +0200)]
try to test the problematic cast-to-raw case... unfortunately with the implicit reborrow that's not currently possible

5 years agosome failures are impossible
Ralf Jung [Tue, 16 Apr 2019 21:37:37 +0000 (23:37 +0200)]
some failures are impossible

5 years agoadjust compile-fail error messages
Ralf Jung [Tue, 16 Apr 2019 15:17:28 +0000 (17:17 +0200)]
adjust compile-fail error messages

This also passes miri-test-libstd!

5 years agomore comments
Ralf Jung [Tue, 16 Apr 2019 13:26:21 +0000 (15:26 +0200)]
more comments

5 years agomake run-pass tests pass. tweak how we remove barriers.
Ralf Jung [Mon, 15 Apr 2019 15:06:42 +0000 (17:06 +0200)]
make run-pass tests pass. tweak how we remove barriers.

5 years agorewrite Stacked Borrows Core. this passes stacked-borrows.rs!
Ralf Jung [Mon, 15 Apr 2019 13:36:09 +0000 (15:36 +0200)]
rewrite Stacked Borrows Core. this passes stacked-borrows.rs!

5 years agoMerge pull request #694 from RalfJung/readme
Oliver Scherer [Wed, 17 Apr 2019 07:23:47 +0000 (09:23 +0200)]
Merge pull request #694 from RalfJung/readme

document -Zmiri-seed

5 years agodocument -Zmiri-seed
Ralf Jung [Wed, 17 Apr 2019 06:20:02 +0000 (08:20 +0200)]
document -Zmiri-seed

5 years agoMerge pull request #692 from RalfJung/rand
Ralf Jung [Wed, 17 Apr 2019 05:42:43 +0000 (07:42 +0200)]
Merge pull request #692 from RalfJung/rand

Fix 0-sized getrandom and thread_rng()

5 years agofix RtlGenRandom argument size
Ralf Jung [Tue, 16 Apr 2019 19:04:44 +0000 (21:04 +0200)]
fix RtlGenRandom argument size

5 years agoMerge branch 'master' into rand
Ralf Jung [Tue, 16 Apr 2019 18:55:58 +0000 (20:55 +0200)]
Merge branch 'master' into rand

5 years agoMerge pull request #691 from RalfJung/pragmatic-ptr-eq
Oliver Scherer [Tue, 16 Apr 2019 18:52:55 +0000 (20:52 +0200)]
Merge pull request #691 from RalfJung/pragmatic-ptr-eq

be pragmatic about ptr-int comparisons, for now

5 years agotry to really fix tests on macOS
Ralf Jung [Tue, 16 Apr 2019 18:36:33 +0000 (20:36 +0200)]
try to really fix tests on macOS

5 years agofix tests on macOS
Ralf Jung [Tue, 16 Apr 2019 18:14:23 +0000 (20:14 +0200)]
fix tests on macOS

5 years agopick better test names
Ralf Jung [Tue, 16 Apr 2019 18:12:55 +0000 (20:12 +0200)]
pick better test names

5 years agofix ref file
Ralf Jung [Tue, 16 Apr 2019 17:55:22 +0000 (19:55 +0200)]
fix ref file

5 years agostub out pthread_atfork to that we support thread_rng()
Ralf Jung [Tue, 16 Apr 2019 17:49:36 +0000 (19:49 +0200)]
stub out pthread_atfork to that we support thread_rng()

5 years agofix 0-sized getrandom
Ralf Jung [Tue, 16 Apr 2019 17:26:02 +0000 (19:26 +0200)]
fix 0-sized getrandom

5 years agoupdate cargo miri test to test rng crate a bit; this currently fails
Ralf Jung [Tue, 16 Apr 2019 17:12:56 +0000 (19:12 +0200)]
update cargo miri test to test rng crate a bit; this currently fails

5 years agofix compile-fail test
Ralf Jung [Tue, 16 Apr 2019 17:09:37 +0000 (19:09 +0200)]
fix compile-fail test

5 years agotweak entropy tests a bit
Ralf Jung [Tue, 16 Apr 2019 17:06:08 +0000 (19:06 +0200)]
tweak entropy tests a bit

5 years agobe pragmatic about ptr-int comparisons, for now
Ralf Jung [Tue, 16 Apr 2019 15:47:37 +0000 (17:47 +0200)]
be pragmatic about ptr-int comparisons, for now

5 years agoMerge pull request #690 from RalfJung/rustup
Ralf Jung [Sun, 14 Apr 2019 08:52:12 +0000 (10:52 +0200)]
Merge pull request #690 from RalfJung/rustup

rustup

5 years agorustup
Ralf Jung [Sun, 14 Apr 2019 08:30:00 +0000 (10:30 +0200)]
rustup

5 years agoMerge pull request #689 from RalfJung/rustup
Ralf Jung [Fri, 12 Apr 2019 22:20:30 +0000 (00:20 +0200)]
Merge pull request #689 from RalfJung/rustup

lower rand version requirement

5 years agoMerge branch 'master' into rustup
Ralf Jung [Fri, 12 Apr 2019 21:20:54 +0000 (23:20 +0200)]
Merge branch 'master' into rustup

5 years agolower rand version requirement
Ralf Jung [Fri, 12 Apr 2019 21:17:58 +0000 (23:17 +0200)]
lower rand version requirement

5 years agoMerge pull request #688 from RalfJung/rustup
Ralf Jung [Fri, 12 Apr 2019 21:13:30 +0000 (23:13 +0200)]
Merge pull request #688 from RalfJung/rustup

rustup

5 years agorustup
Ralf Jung [Fri, 12 Apr 2019 20:15:55 +0000 (22:15 +0200)]
rustup

5 years agoMerge pull request #687 from RalfJung/rustup
Ralf Jung [Fri, 12 Apr 2019 11:39:19 +0000 (13:39 +0200)]
Merge pull request #687 from RalfJung/rustup

rustup

5 years agorustup
Ralf Jung [Fri, 12 Apr 2019 10:32:14 +0000 (12:32 +0200)]
rustup

5 years agoMerge pull request #680 from RalfJung/miri-unsized
Ralf Jung [Thu, 11 Apr 2019 21:18:43 +0000 (23:18 +0200)]
Merge pull request #680 from RalfJung/miri-unsized

test calling Box<dyn FnOnce>

5 years agobump Rust version
Ralf Jung [Thu, 11 Apr 2019 20:09:27 +0000 (22:09 +0200)]
bump Rust version

5 years agoMerge remote-tracking branch 'origin/master'
Ralf Jung [Thu, 11 Apr 2019 20:09:09 +0000 (22:09 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agofix async-fn test
Ralf Jung [Wed, 10 Apr 2019 15:20:54 +0000 (17:20 +0200)]
fix async-fn test

5 years agoMerge pull request #683 from Aaron1011/feature/random
Ralf Jung [Wed, 10 Apr 2019 07:20:33 +0000 (09:20 +0200)]
Merge pull request #683 from Aaron1011/feature/random

Implement non-deterministc mode

5 years agoDon't create HashMap<K, V> when not needed
Aaron Hill [Wed, 10 Apr 2019 03:36:27 +0000 (23:36 -0400)]
Don't create HashMap<K, V> when not needed

5 years agoFix typo
Ralf Jung [Wed, 10 Apr 2019 03:33:13 +0000 (23:33 -0400)]
Fix typo

Co-Authored-By: Aaron1011 <aa1ronham@gmail.com>
5 years agoMerge branch 'master' into feature/random
Oliver Scherer [Tue, 9 Apr 2019 19:58:15 +0000 (21:58 +0200)]
Merge branch 'master' into feature/random

5 years agoSome final cleanup
Aaron Hill [Tue, 9 Apr 2019 19:49:34 +0000 (15:49 -0400)]
Some final cleanup

5 years agoRetrieve SYS_getrandom from libc using const-eval
Aaron Hill [Tue, 9 Apr 2019 15:04:30 +0000 (11:04 -0400)]
Retrieve SYS_getrandom from libc using const-eval

5 years agoFix compile-fail error message
Aaron Hill [Tue, 9 Apr 2019 14:19:29 +0000 (10:19 -0400)]
Fix compile-fail error message