]> git.lizzy.rs Git - rust.git/log
rust.git
5 years agothis also fixed our 2-phase woes
Ralf Jung [Wed, 15 May 2019 15:52:08 +0000 (17:52 +0200)]
this also fixed our 2-phase woes

5 years agorefactor to simplify
Ralf Jung [Wed, 15 May 2019 15:50:43 +0000 (17:50 +0200)]
refactor to simplify

5 years agomake writes act stack-like
Ralf Jung [Wed, 15 May 2019 15:23:26 +0000 (17:23 +0200)]
make writes act stack-like

5 years agomake printing return place less verbose (#728)
Ralf Jung [Wed, 15 May 2019 16:12:46 +0000 (18:12 +0200)]
make printing return place less verbose (#728)

make printing return place less verbose

5 years agomake printing return place less verbose
Ralf Jung [Wed, 15 May 2019 13:19:19 +0000 (15:19 +0200)]
make printing return place less verbose

5 years agoRustup (#723)
Ralf Jung [Wed, 15 May 2019 07:29:26 +0000 (09:29 +0200)]
Rustup (#723)

Rustup

5 years agobump Rust
Ralf Jung [Wed, 15 May 2019 06:58:43 +0000 (08:58 +0200)]
bump Rust

5 years agofix for latest rustc
Ralf Jung [Mon, 13 May 2019 19:55:58 +0000 (21:55 +0200)]
fix for latest rustc

5 years agoRUST_LOG got renamed to RUSTC_LOG
Ralf Jung [Mon, 13 May 2019 12:10:52 +0000 (14:10 +0200)]
RUST_LOG got renamed to RUSTC_LOG

5 years agomake HashMap test a bit nicer
Ralf Jung [Mon, 13 May 2019 09:45:39 +0000 (11:45 +0200)]
make HashMap test a bit nicer

5 years agobuild with latest version
Ralf Jung [Mon, 13 May 2019 09:37:54 +0000 (11:37 +0200)]
build with latest version

5 years agoMerge pull request #726 from RalfJung/stacked-borrows-2
Oliver Scherer [Mon, 13 May 2019 08:48:08 +0000 (10:48 +0200)]
Merge pull request #726 from RalfJung/stacked-borrows-2

rename per-location aprt of reborowing to 'granting'

5 years agoUpdate src/stacked_borrows.rs
Ralf Jung [Sat, 11 May 2019 10:07:25 +0000 (12:07 +0200)]
Update src/stacked_borrows.rs

Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com>
5 years agorename per-location part of reborowing to 'granting'
Ralf Jung [Sat, 11 May 2019 09:03:53 +0000 (11:03 +0200)]
rename per-location part of reborowing to 'granting'

5 years agoMerge pull request #725 from RalfJung/xargo
Oliver Scherer [Fri, 10 May 2019 09:40:23 +0000 (11:40 +0200)]
Merge pull request #725 from RalfJung/xargo

switch back to upstream xargo

5 years agoswitch back to upstream xargo
Ralf Jung [Fri, 10 May 2019 06:05:34 +0000 (08:05 +0200)]
switch back to upstream xargo

5 years agoMerge pull request #720 from RalfJung/rustup
Oliver Scherer [Thu, 2 May 2019 07:09:15 +0000 (09:09 +0200)]
Merge pull request #720 from RalfJung/rustup

fix for latest Rust

5 years agofix tests for latest Rust
Ralf Jung [Wed, 1 May 2019 18:43:43 +0000 (20:43 +0200)]
fix tests for latest Rust

5 years agoswitch to my xargo fork, because that one works with current libstd
Ralf Jung [Wed, 1 May 2019 18:37:08 +0000 (20:37 +0200)]
switch to my xargo fork, because that one works with current libstd

5 years agoMerge pull request #719 from RalfJung/stacked-borrows-2
Ralf Jung [Tue, 30 Apr 2019 19:14:41 +0000 (21:14 +0200)]
Merge pull request #719 from RalfJung/stacked-borrows-2

add arielby's example

5 years agoadd arielby's example
Ralf Jung [Tue, 30 Apr 2019 18:18:29 +0000 (20:18 +0200)]
add arielby's example

5 years agoMerge pull request #718 from RalfJung/stacked-borrows-2
Ralf Jung [Tue, 30 Apr 2019 18:03:16 +0000 (20:03 +0200)]
Merge pull request #718 from RalfJung/stacked-borrows-2

SharedReadOnly reborrows are never weak

5 years agoApply suggestions from code review
bjorn3 [Tue, 30 Apr 2019 13:31:53 +0000 (15:31 +0200)]
Apply suggestions from code review

Co-Authored-By: RalfJung <post@ralfj.de>
5 years agoSharedReadOnly reborrows are never weak
Ralf Jung [Tue, 30 Apr 2019 11:48:16 +0000 (13:48 +0200)]
SharedReadOnly reborrows are never weak

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