Commit Graph

154 Commits

Author SHA1 Message Date
Gilad Naaman
d09d3324f0
Merge pull request #44 from RalfJung/refactor
some reorganization
2020-06-23 11:08:07 +03:00
Ralf Jung
72d7c04348 Travis shares caches between jobs unless their env vars differ 2020-06-23 08:51:10 +02:00
Ralf Jung
782c7d4408 fix allow_clippy 2020-06-22 10:43:53 +02:00
Ralf Jung
6098248fd4 share more code in raw_field 2020-06-22 10:07:50 +02:00
Ralf Jung
a1a14b8120 factor difference between const and non-const into sub-macro 2020-06-22 10:06:53 +02:00
Ralf Jung
8c8900af68 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
eb7f7554ef span_of: use raw_field macro for more safety 2020-06-21 12:00:25 +02:00
Ralf Jung
b5e7f3febb move raw_field macro to its own file 2020-06-21 11:53:48 +02:00
Gilad Naaman
5d890ec403
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
202f116699 travis config: avoid setting meaningful env vars 2020-06-20 15:09:16 +02:00
Ralf Jung
a6b5aec20f fmt 2020-06-20 15:02:40 +02:00
Ralf Jung
8c5200e9e2 add support for using raw_ref macros 2020-06-20 14:23:50 +02:00
Gilad Naaman
031c41f583
Merge pull request #42 from RalfJung/version
release v0.5.4
2020-03-16 21:46:06 +02:00
Ralf Jung
e8085721f3 bump version for release 2020-03-16 20:26:44 +01:00
Gilad Naaman
65c13f24aa
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
4179c58af6 Fixed build for 1.19 2020-03-16 19:23:25 +02:00
Gilad Naaman
449841d45d Switch to autocfg from rustc_version 2020-03-16 19:07:13 +02:00
Gilad Naaman
73f5dddc90
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
e002a54759 rustfmt 2020-03-16 17:33:13 +01:00
Ralf Jung
81a6523a09 avoid accessing libcore for compat with old Rust versions 2020-03-16 17:33:08 +01:00
Ralf Jung
497aded88d add raw_field macro to compute raw ptr to field 2020-03-16 17:02:11 +01:00
Ralf Jung
b7011a0ab9
Merge pull request #39 from AnthonyMikh/fix_typo
Fix a typo in comment
2020-03-10 08:27:34 +01:00
AnthonyMikh
3e5dcf2b1d
Fix a typo in comment 2020-03-10 02:07:14 +03:00
Ralf Jung
184f360863
Merge pull request #36 from RalfJung/miri
better way to ignore tests in Miri
2019-12-11 16:44:56 +01:00
Ralf Jung
d3f5f23483
Merge pull request #35 from RalfJung/allow-clippy
allow clippy lint
2019-12-07 13:21:12 +01:00
Ralf Jung
6a2923359e better way to ignore tests in Miri 2019-12-07 12:17:22 +01:00
Ralf Jung
13bc1f51a8 allow clippy lint only on recent enough compilers 2019-11-17 20:47:03 +01:00
Ralf Jung
3415814930 remove redundant namespacing from some features 2019-11-17 20:45:27 +01:00
Ralf Jung
e4cd532852
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
425477dc5b Added impl for constant offset_of 2019-11-16 22:34:38 +02:00
Ralf Jung
5a617d7cc5 allow clippy lint 2019-11-16 21:30:32 +01:00
Gilad Naaman
149bf763f8
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
9540a013b5 we actually work on 1.19 as well 2019-11-16 11:03:15 +01:00
Gilad Naaman
c0ad55cb4a v0.5.3 2019-11-07 18:57:53 +02:00
Gilad Naaman
349f7d0803
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
ef0d8a7bf9 Fixed build for old nightlies where doctests were not present. 2019-11-07 18:43:17 +02:00
Gilad Naaman
59ed7dd178 v0.5.2 2019-10-31 07:05:31 +02:00
Gilad Naaman
c14a163376
Merge pull request #28 from RalfJung/comment
remove confusing comment
2019-08-29 07:02:08 +03:00
Ralf Jung
75e308cda6
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
d7070d4b25 remove confusing comment 2019-08-28 20:11:08 +02:00
Amanieu d'Antras
86689325ee 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
c4b0e429ea
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
f393002504 Update library documentation to reflect removal of const implementation. 2019-08-28 15:45:59 +02:00
Ralf Jung
903e24f077
Merge pull request #22 from RalfJung/miri
run CI in Miri
2019-08-16 14:34:32 +02:00
Ralf Jung
a7350af9cb tets Miri a bit earlier 2019-08-16 11:58:14 +02:00
Ralf Jung
3da754e54b run CI in Miri 2019-08-16 11:56:46 +02:00
Gilad Naaman
51b48e1407
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
28021da8ec explain why we do not have deref coercion problems 2019-08-10 15:11:59 +02:00
Gilad Naaman
6843496a4b
Merge pull request #19 from RalfJung/readme
Fix README and lower minimum Rust version
2019-08-10 15:20:54 +03:00
Ralf Jung
564d4a6c11 fmt 2019-08-10 11:59:57 +02:00