Commit Graph

386 Commits

Author SHA1 Message Date
Lokathor
3fd763c764 Fix a Miri failure 2019-11-04 19:12:59 -07:00
Lokathor
79143a6295 cargo fmt is a strict one 2019-11-03 23:55:51 -07:00
Lokathor
af3f4404df document the failure case
Closes https://github.com/Lokathor/bytemuck/issues/3
2019-11-03 23:45:38 -07:00
Lokathor
911224f7a0 relicense
Closes https://github.com/Lokathor/bytemuck/issues/2
2019-11-03 23:43:15 -07:00
Lokathor
15bbbb29fd docs 2019-11-03 23:39:06 -07:00
Lokathor
0e3948b8b8
Update cast_slice_tests.rs 2019-11-01 10:39:32 -06:00
Lokathor
b199fad411 Create cast_slice_tests.rs 2019-10-26 04:22:15 -06:00
Lokathor
24ad0df209 Update zeroable.rs 2019-10-05 19:26:47 -06:00
Lokathor
f3bffd9da2 (cargo-release) start next development iteration 0.1.1-alpha.0 2019-09-22 13:07:59 -06:00
Lokathor
7603a0f01d
Merge pull request #1 from Lokathor/phase1
Phase1
2019-09-22 13:07:03 -06:00
Lokathor
55a4eef7b6 improve the ZST case 2019-09-21 17:39:37 -06:00
Lokathor
72d3ae2419 clarify when allocation related operations are available. 2019-09-21 17:33:36 -06:00
Lokathor
dad138dba3
guard against zero sized types with an error
We could update this to just not allocate in the future but I don't believe that the docs give us assurances in that area.
2019-09-20 13:05:09 -06:00
Lokathor
6fea4bfa58
make the deref explicit 2019-09-20 11:40:44 -06:00
Lokathor
40cb0d19c3
comments 2019-09-20 11:12:40 -06:00
Lokathor
d4fde53386
Update src/zeroable.rs
Co-Authored-By: Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>
2019-09-20 11:10:01 -06:00
Lokathor
ca902ff52d
mention repr(packed) 2019-09-20 11:09:33 -06:00
Lokathor
28603a3198
gotta mask that unsafe 2019-09-20 11:08:40 -06:00
Lokathor
cc0a6aa751
use a result 2019-09-20 11:06:50 -06:00
Lokathor
973ec91f79
typo, remove old imports 2019-09-20 11:05:33 -06:00
Lokathor
8cdf598be4 formatting 2019-09-20 09:10:03 -06:00
Lokathor
876da036e4 zeroed out boxes 2019-09-20 09:01:23 -06:00
Lokathor
427893ab9b same fix for as_mut 2019-09-20 08:20:18 -06:00
Lokathor
c7e124e641 Remove Arc and Rc support, they've got repr(rust) internals. 2019-09-20 00:52:55 -06:00
Lokathor
2b8ef93dee simplify reborrow 2019-09-20 00:32:35 -06:00
Lokathor
22e1b7a6f6 ralith says to slim down the error 2019-09-19 23:11:06 -06:00
Lokathor
372ad15af9 commentary fix 2019-09-19 22:53:35 -06:00
Lokathor
7584fb2d19 Update lib.rs 2019-09-19 22:19:38 -06:00
Lokathor
a1b7c21a65 Update allocation.rs 2019-09-19 22:15:17 -06:00
Lokathor
25e545f643 Merge branch 'master' into phase1 2019-09-19 22:12:52 -06:00
Lokathor
7bdd90d9fe stupid windows 2019-09-19 22:12:32 -06:00
Lokathor
0bae2db1b8 no_std + alloc 2019-09-19 22:11:25 -06:00
Lokathor
a45102007c more 2019-09-19 21:35:09 -06:00
Lokathor
70da6d7a77 zeroable 2019-09-19 19:23:24 -06:00
Lokathor
760a00cabd base files 2019-09-19 19:09:31 -06:00
Lokathor
89b264a96e
Initial commit 2019-09-19 18:43:51 -06:00