Commit Graph

101 Commits

Author SHA1 Message Date
Ralf Jung fcbad2f16e share more code in raw_field 2020-06-22 10:07:50 +02:00
Ralf Jung 525c81e24f factor difference between const and non-const into sub-macro 2020-06-22 10:06:53 +02:00
Ralf Jung 9db8a15115 make the const variant closer to the normal variant (just the offset part is different) 2020-06-21 12:12:34 +02:00
Ralf Jung 78014026d9 span_of: use raw_field macro for more safety 2020-06-21 12:00:25 +02:00
Ralf Jung f4c1d18544 move raw_field macro to its own file 2020-06-21 11:53:48 +02:00
Gilad Naaman 40015d02f4 Merge pull request #43 from RalfJung/raw_ref
add support for using raw_ref macros
2020-06-20 16:37:24 +03:00
Ralf Jung 2745b6ceaa travis config: avoid setting meaningful env vars 2020-06-20 15:09:16 +02:00
Ralf Jung 720e392281 fmt 2020-06-20 15:02:40 +02:00
Ralf Jung 3f21c8bba3 add support for using raw_ref macros 2020-06-20 14:23:50 +02:00
Gilad Naaman 100d48971d Merge pull request #42 from RalfJung/version
release v0.5.4
2020-03-16 21:46:06 +02:00
Ralf Jung f7ab3aed26 bump version for release 2020-03-16 20:26:44 +01:00
Gilad Naaman 26777d03a4 Merge pull request #41 from Gilnaa/move_to_autocfg
Switch to autocfg from rustc_version
2020-03-16 19:31:08 +02:00
Gilad Naaman 2d89f26516 Fixed build for 1.19 2020-03-16 19:23:25 +02:00
Gilad Naaman c150ad4941 Switch to autocfg from rustc_version 2020-03-16 19:07:13 +02:00
Gilad Naaman c57ade7f1f Merge pull request #40 from RalfJung/raw_field
add raw_field macro to compute raw ptr to field
2020-03-16 19:00:52 +02:00
Ralf Jung 1280f5b8ac rustfmt 2020-03-16 17:33:13 +01:00
Ralf Jung 3d2481a427 avoid accessing libcore for compat with old Rust versions 2020-03-16 17:33:08 +01:00
Ralf Jung f1642af871 add raw_field macro to compute raw ptr to field 2020-03-16 17:02:11 +01:00
Ralf Jung 54c68f8843 Merge pull request #39 from AnthonyMikh/fix_typo
Fix a typo in comment
2020-03-10 08:27:34 +01:00
AnthonyMikh 981db233dc Fix a typo in comment 2020-03-10 02:07:14 +03:00
Ralf Jung 13ea44fbad Merge pull request #36 from RalfJung/miri
better way to ignore tests in Miri
2019-12-11 16:44:56 +01:00
Ralf Jung 0ad6b6bb87 Merge pull request #35 from RalfJung/allow-clippy
allow clippy lint
2019-12-07 13:21:12 +01:00
Ralf Jung aa4738c356 better way to ignore tests in Miri 2019-12-07 12:17:22 +01:00
Ralf Jung 9f13984808 allow clippy lint only on recent enough compilers 2019-11-17 20:47:03 +01:00
Ralf Jung f8fbd6d073 remove redundant namespacing from some features 2019-11-17 20:45:27 +01:00
Ralf Jung 8b95fb5233 Merge pull request #31 from Gilnaa/feature/constant-offset
Added impl for constant offset_of
2019-11-16 21:45:06 +01:00
Gilad Naaman 176b647ccd Added impl for constant offset_of 2019-11-16 22:34:38 +02:00
Ralf Jung 3708978129 allow clippy lint 2019-11-16 21:30:32 +01:00
Gilad Naaman 876e076491 Merge pull request #33 from RalfJung/msrv
see if we actually work on even older Rust versions
2019-11-16 12:26:30 +02:00
Ralf Jung c1d80999cf we actually work on 1.19 as well 2019-11-16 11:03:15 +01:00
Gilad Naaman dd73e59e83 v0.5.3 2019-11-07 18:57:53 +02:00
Gilad Naaman 457f1f622a Merge pull request #32 from Gilnaa/bugfix/old-nightly
Fixed build for old nightlies where doctests were not present.
2019-11-07 18:56:57 +02:00
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