08dac29b82
Remove no_run
from doctests
...
Uses `qadapt::is_active` to work around rust-lang/cargo#6570 .
Currently assumes that *some* allocation will have happened
by the time `fn main()` is called, which is sub-par.
2019-01-20 14:40:57 -05:00
87beb53ccd
Minor note about protection level during release
2019-01-20 13:29:38 -05:00
8838070a1b
Add an is_active
function, and remove panic on not using
2019-01-20 13:19:02 -05:00
6d72249253
Go back to the spin
crate as a dependency
2019-01-09 00:26:07 -05:00
964e9c5a11
Use the system allocator
2018-12-16 16:29:25 -05:00
816c4f994f
Vendor in the spin crate for the time being
2018-12-15 15:50:48 -05:00
9e5b2b0f7a
Add an async demonstration
2018-12-08 18:05:46 -05:00
2c3cd714a1
Fix up the tests
2018-12-08 16:08:36 -05:00
db120dbe45
More documentation updates
2018-12-07 00:16:29 -05:00
65808b4e49
Minor docs update
2018-12-06 23:36:28 -05:00
d19e596712
Remove log crate
2018-12-06 23:23:39 -05:00
508aa05cb9
Actually run rustfmt
2018-12-06 23:19:37 -05:00
b565c29cfc
Minor wording tweak
2018-12-06 23:05:14 -05:00
65673e1af2
Renaming and a new macro
2018-12-06 23:02:44 -05:00
a1ee8934b4
Fix up the clippy warnings
2018-12-06 22:14:43 -05:00
de2b6700ae
First of edition fixing
2018-12-06 22:12:21 -05:00
095fd797c4
Warning message if guards without allocator enabled
2018-11-22 11:19:31 -05:00
5d7be8e18e
Fix conditional compilation guards
2018-11-18 21:29:32 -05:00
79f57ba2f9
Slight docs update
2018-11-17 11:04:37 -05:00
8b4ebe8c88
Get version 0.4 ready
2018-11-15 20:16:49 -05:00
d9bc210ba0
Revert "Don't use proc macro"
...
This reverts commit 000d0032a9
.
2018-11-14 23:38:21 -05:00
000d0032a9
Don't use proc macro
...
I really don't like the new syntax though,
much as I don't like proc_macro it may be coming back.
2018-11-14 23:31:10 -05:00
af2781b453
Strip QADAPT symbols for release-mode builds
2018-11-13 22:30:41 -05:00
84739c4dd1
Handle actual functions
2018-11-12 22:30:09 -05:00
76091906cc
I lied, the cleanup is never done
2018-11-11 22:37:00 -05:00
901e7941a2
Final cleanup, time to commit
2018-11-11 22:34:05 -05:00
8bc768e40b
Get the proc macro working. It's time to release.
2018-11-11 22:22:24 -05:00
80f1d5c1f8
Mark internal functions as not needing unsafe
...
Even though they're not used by any `safe` code
2018-11-10 22:01:41 -05:00
4e16b79486
Rustfmt run
2018-11-10 21:59:39 -05:00
1faa353706
Docs updates and thread_id crate
2018-11-10 21:54:13 -05:00
de7edaeb0c
Update the docs
2018-11-10 21:36:23 -05:00
a7df1639ce
Fix some deadlock issues
...
Slower, but much safer internal allocation guard
2018-11-10 20:54:35 -05:00
753b3a4e8b
Multi-threaded allocation checker!
...
Holy crap that was much harder than expected
2018-11-10 01:30:39 -05:00
18d1c3e6d1
Start work on a procedural macro
...
Turns out the system still needs some work.
2018-11-06 23:04:26 -05:00
16a0238dc5
Add some more tests
2018-11-06 20:51:44 -05:00
03310c6372
Much simpler take, and actually works this time.
2018-11-05 21:58:33 -05:00
7fde099c3a
Enable per-thread tracking
2018-09-23 12:37:07 -04:00
5755eccae7
no_std for the time being
...
Impossible to maintain long-term because of backtrace crate/thread ID
2018-09-22 17:26:52 -04:00
aafec768ca
Takes us 576 allocations to get up and running
...
I need a better way to handle initialization costs...
2018-09-22 16:13:36 -04:00
a489f71ae2
Add an initial pass on an allocation tracing tool
2018-09-21 22:34:42 -04:00