169 Commits

Author SHA1 Message Date
Gilad Naaman b17540333a Fixed build for old nightlies where doctests were not present. 2019-11-07 18:43:17 +02:00
Gilad Naaman ea332cd53e v0.5.2 2019-10-31 07:05:31 +02:00
Gilad Naaman a2f09d9436 Merge pull request #28 from RalfJung/comment
remove confusing comment
2019-08-29 07:02:08 +03:00
Ralf Jung 4b32562a82 Merge pull request #27 from Amanieu/path
Change the struct parameter from a tt to a path.
2019-08-28 20:13:23 +02:00
Ralf Jung 9e8633bf4e remove confusing comment 2019-08-28 20:11:08 +02:00
Amanieu d'Antras 6ebc57dc9b Change the struct parameter from a tt to a path.
This allows name paths with :: to be passed in.
2019-08-28 17:07:38 +01:00
Ralf Jung 39617b9212 Merge pull request #26 from fusion-engineering-forks/doc-no-const
Update library documentation to reflect removal of const implementation.
2019-08-28 16:02:56 +02:00
Maarten de Vries 31cac3881f Update library documentation to reflect removal of const implementation. 2019-08-28 15:45:59 +02:00
Ralf Jung 44aa558d8d Merge pull request #22 from RalfJung/miri
run CI in Miri
2019-08-16 14:34:32 +02:00
Ralf Jung d36d07b5cf tets Miri a bit earlier 2019-08-16 11:58:14 +02:00
Ralf Jung b76d0c41e3 run CI in Miri 2019-08-16 11:56:46 +02:00
Gilad Naaman 6a3a7f09a6 Merge pull request #20 from RalfJung/comment
explain why we do not have deref coercion problems
2019-08-16 11:56:13 +03:00
Ralf Jung b5f5428525 explain why we do not have deref coercion problems 2019-08-10 15:11:59 +02:00
Gilad Naaman e243de5a87 Merge pull request #19 from RalfJung/readme
Fix README and lower minimum Rust version
2019-08-10 15:20:54 +03:00
Ralf Jung 207a08c623 fmt 2019-08-10 11:59:57 +02:00
Ralf Jung f734f5bbad no need to use NonNull 2019-08-10 11:59:47 +02:00
Ralf Jung b7e2959e55 test README only on nightly, so that it can be a dev-dependency 2019-08-10 11:43:04 +02:00
Ralf Jung 14032887ff explain why 1.25 is the oldest supported 2019-08-10 11:32:07 +02:00
Ralf Jung a75bb0a68f it's not a preview any more 2019-08-10 11:17:11 +02:00
Ralf Jung 90f608336b fix redundant key in travis.yml 2019-08-10 11:17:09 +02:00
Ralf Jung 5151f6b2c1 fix testing README and fix README tests 2019-08-10 11:12:48 +02:00
Ralf Jung e5bbb9d812 Merge commit 'refs/pull/8/head' of https://github.com/Gilnaa/memoffset 2019-08-10 11:05:56 +02:00
Ralf Jung 54096c6a95 update version info in README 2019-08-10 11:05:08 +02:00
Gilad Naaman 7b642fa82b v0.5.1 2019-07-15 21:54:34 +03:00
Gilad Naaman f1d95968c4 Merge pull request #16 from RalfJung/local_inner_macros
use local_inner_macros
2019-07-15 21:54:03 +03:00
Ralf Jung 79038bc02b use local_inner_macros 2019-07-15 18:38:02 +02:00
Gilad Naaman 7d77f170d6 v0.5.0 2019-07-14 20:54:55 +03:00
Gilad Naaman 5b94ad4f12 Merge pull request #14 from RalfJung/span_of
Fix span_of
2019-07-14 11:02:33 +03:00
Ralf Jung db24ef20ee explain let_base_ptr 2019-07-14 09:19:18 +02:00
Ralf Jung fc033fda9c old rust compat 2019-07-14 01:19:05 +02:00
Ralf Jung 0360b4c8ac rustfmt 2019-07-14 01:17:16 +02:00
Ralf Jung ba24683620 improve doctest 2019-07-14 01:10:18 +02:00
Ralf Jung a9df009231 span_of: test packed and not-packed separately; not-packed passes on Miri 2019-07-14 00:58:23 +02:00
Ralf Jung 84ba58aa33 deref coercion protection for span_of 2019-07-14 00:54:41 +02:00
Ralf Jung 00429dfba5 field_check macro; propagate parent type through span_of 2019-07-13 17:23:47 +02:00
Ralf Jung 8966c23338 use the same base_ptr macro for span_of 2019-07-13 17:18:07 +02:00
Ralf Jung 7e33517281 share the common code between the two offset_of implementations 2019-07-13 17:08:50 +02:00
Ralf Jung e2ce9187d0 offset_of: test packed and not-packed separately; not-packed passes on Miri 2019-07-13 16:32:43 +02:00
Gilad Naaman 7c16d107ff Merge pull request #12 from RalfJung/deref
add deref-coercion-check to old version of macro; improve comments
2019-07-12 14:28:14 +03:00
Ralf Jung f4e1759d76 try to fix old macro 2019-07-07 11:01:31 +02:00
Ralf Jung cb9a42ca25 switch to nicer deref-coercion-protection; make two macros more similar 2019-07-07 10:52:52 +02:00
Gilad Naaman 731983c3b0 Merge pull request #11 from Gilnaa/bugfix/soundness
Fixed soundness issues and removed nested member access.
2019-07-04 19:42:18 +03:00
Gilad Naaman 9e67d272b3 Fixed MaybeUninit for 1.36 2019-07-04 19:33:22 +03:00
Gilad Naaman d0bc87f11a Fixed soundness issues and removed nested member access. 2019-07-02 20:56:30 +03:00
Guillaume Gomez 10d9e098f8 Add tests for README file 2019-05-20 15:12:50 +02:00
Gilad Naaman f12db40a60 Merge pull request #7 from Gilnaa/fix_constant_for_old_version
Added dual support for 1.33 and 1.19
2019-03-15 11:46:10 +02:00
Gilad Naaman 9174130890 Added dual support for 1.33 and 1.19 2019-03-15 11:38:46 +02:00
Gilad Naaman a6ae4bfd69 Merge pull request #6 from Gilnaa/ci
Added travis configuration
2019-03-13 23:07:44 +02:00
Gilad Naaman f4a28ed95a Added travis configuration 2019-03-13 22:57:42 +02:00
Gilad Naaman a0cf4d2b13 Merge pull request #5 from Popog/master
Support const expr (but not const fns) and arbitrary expressions
2019-03-13 21:27:43 +02:00