]> git.lizzy.rs Git - rust.git/log
rust.git
5 years agofix for latest rustc
Ralf Jung [Mon, 27 May 2019 16:50:32 +0000 (18:50 +0200)]
fix for latest rustc

5 years agoMerge pull request #742 from RalfJung/stacked-borrows-2
Oliver Scherer [Fri, 24 May 2019 12:13:25 +0000 (14:13 +0200)]
Merge pull request #742 from RalfJung/stacked-borrows-2

add more bugs we found to README; use consistent printing in Stacked Borrows

5 years agoavoid printing the tag twice
Ralf Jung [Fri, 24 May 2019 11:09:29 +0000 (13:09 +0200)]
avoid printing the tag twice

5 years agoavoid having both Debug and Display for a type and using the wrong one
Ralf Jung [Fri, 24 May 2019 08:09:18 +0000 (10:09 +0200)]
avoid having both Debug and Display for a type and using the wrong one

5 years agoadd more bugs that Miri found
Ralf Jung [Thu, 23 May 2019 14:33:44 +0000 (16:33 +0200)]
add more bugs that Miri found

5 years agoMerge pull request #741 from RalfJung/stacked-borrows-2
Ralf Jung [Thu, 23 May 2019 14:28:18 +0000 (16:28 +0200)]
Merge pull request #741 from RalfJung/stacked-borrows-2

use prettier printing

5 years agouse prettier printing
Ralf Jung [Thu, 23 May 2019 13:54:50 +0000 (15:54 +0200)]
use prettier printing

5 years agoMerge pull request #740 from RalfJung/stacked-borrows-2
Ralf Jung [Thu, 23 May 2019 10:37:55 +0000 (12:37 +0200)]
Merge pull request #740 from RalfJung/stacked-borrows-2

hopefully improve error message a bit

5 years agohopefully improve error message a bit
Ralf Jung [Thu, 23 May 2019 09:03:04 +0000 (11:03 +0200)]
hopefully improve error message a bit

5 years agoMerge pull request #738 from RalfJung/stacked-borrows-2
Ralf Jung [Tue, 21 May 2019 15:21:09 +0000 (17:21 +0200)]
Merge pull request #738 from RalfJung/stacked-borrows-2

test for new read rules

5 years agotest for new read rules
Ralf Jung [Tue, 21 May 2019 13:41:26 +0000 (15:41 +0200)]
test for new read rules

5 years agoMerge pull request #736 from rust-lang/rustup
Ralf Jung [Tue, 21 May 2019 07:57:44 +0000 (09:57 +0200)]
Merge pull request #736 from rust-lang/rustup

prepare for MaybeUninit stabilization

5 years agoMerge remote-tracking branch 'origin/master' into master.2
Ralf Jung [Tue, 21 May 2019 06:54:18 +0000 (08:54 +0200)]
Merge remote-tracking branch 'origin/master' into master.2

5 years agoupdate Rust
Ralf Jung [Tue, 21 May 2019 06:54:15 +0000 (08:54 +0200)]
update Rust

5 years agoMerge pull request #734 from RalfJung/readme
Oliver Scherer [Mon, 20 May 2019 09:10:19 +0000 (11:10 +0200)]
Merge pull request #734 from RalfJung/readme

expand explanation of how we treat validity invariants

5 years agoprepare for MaybeUninit stabilization
Ralf Jung [Mon, 20 May 2019 08:46:28 +0000 (10:46 +0200)]
prepare for MaybeUninit stabilization

5 years agoexpand explanation of how we treat validity invariants
Ralf Jung [Mon, 20 May 2019 07:32:01 +0000 (09:32 +0200)]
expand explanation of how we treat validity invariants

5 years agoMerge pull request #732 from RalfJung/stacked-borrows-2
Ralf Jung [Sun, 19 May 2019 20:42:33 +0000 (22:42 +0200)]
Merge pull request #732 from RalfJung/stacked-borrows-2

fix typo

5 years agotypo
Ralf Jung [Sun, 19 May 2019 11:59:18 +0000 (13:59 +0200)]
typo

5 years agoUse `drain` instead of manually rolling it ourselves (#731)
Ralf Jung [Sun, 19 May 2019 11:53:30 +0000 (13:53 +0200)]
Use `drain` instead of manually rolling it ourselves (#731)

Use `drain` instead of manually rolling it ourselves

5 years agoPrefer `drain` over manual implementation of `drain`
Oliver Scherer [Sun, 19 May 2019 10:40:59 +0000 (12:40 +0200)]
Prefer `drain` over manual implementation of `drain`

5 years agoMerge pull request #730 from RalfJung/stacked-borrows-2
Oliver Scherer [Fri, 17 May 2019 21:57:34 +0000 (23:57 +0200)]
Merge pull request #730 from RalfJung/stacked-borrows-2

nits

5 years agonits
Ralf Jung [Fri, 17 May 2019 17:42:35 +0000 (19:42 +0200)]
nits

5 years agotest and support two-phase reborrows of raw pointers (#727)
Ralf Jung [Fri, 17 May 2019 14:29:16 +0000 (16:29 +0200)]
test and support two-phase reborrows of raw pointers (#727)

test and support two-phase reborrows of raw pointers

5 years agoreading does not remove Unique, it just invalidates them
Ralf Jung [Fri, 17 May 2019 12:22:55 +0000 (14:22 +0200)]
reading does not remove Unique, it just invalidates them

5 years agofix tests
Ralf Jung [Fri, 17 May 2019 13:03:28 +0000 (15:03 +0200)]
fix tests

5 years agogive up on two-phase borrows
Ralf Jung [Fri, 17 May 2019 11:42:36 +0000 (13:42 +0200)]
give up on two-phase borrows

5 years agodeduplicate tests
Ralf Jung [Wed, 15 May 2019 12:45:15 +0000 (14:45 +0200)]
deduplicate tests

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`