Commit Graph

43 Commits (master)

Author SHA1 Message Date
Bradlee Speice de852c819f Mark everything deprecated 2019-02-11 00:18:16 -05:00
Bradlee Speice 029ca6aba9 Don't have doctests depend on debug_assertions 2019-01-20 15:25:41 -05:00
Bradlee Speice 640269ff10 Documentation updates 2019-01-20 15:18:41 -05:00
Bradlee Speice 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
Bradlee Speice 87beb53ccd Minor note about protection level during release 2019-01-20 13:29:38 -05:00
Bradlee Speice 8838070a1b Add an `is_active` function, and remove panic on not using 2019-01-20 13:19:02 -05:00
Bradlee Speice 6d72249253 Go back to the `spin` crate as a dependency 2019-01-09 00:26:07 -05:00
Bradlee Speice 964e9c5a11 Use the system allocator 2018-12-16 16:29:25 -05:00
Bradlee Speice 816c4f994f Vendor in the spin crate for the time being 2018-12-15 15:50:48 -05:00
Bradlee Speice 9e5b2b0f7a Add an async demonstration 2018-12-08 18:05:46 -05:00
Bradlee Speice 2c3cd714a1 Fix up the tests 2018-12-08 16:08:36 -05:00
Bradlee Speice db120dbe45 More documentation updates 2018-12-07 00:16:29 -05:00
Bradlee Speice 65808b4e49 Minor docs update 2018-12-06 23:36:28 -05:00
Bradlee Speice d19e596712 Remove log crate 2018-12-06 23:23:39 -05:00
Bradlee Speice 508aa05cb9 Actually run rustfmt 2018-12-06 23:19:37 -05:00
Bradlee Speice b565c29cfc Minor wording tweak 2018-12-06 23:05:14 -05:00
Bradlee Speice 65673e1af2 Renaming and a new macro 2018-12-06 23:02:44 -05:00
Bradlee Speice a1ee8934b4 Fix up the clippy warnings 2018-12-06 22:14:43 -05:00
Bradlee Speice de2b6700ae First of edition fixing 2018-12-06 22:12:21 -05:00
Bradlee Speice 095fd797c4 Warning message if guards without allocator enabled 2018-11-22 11:19:31 -05:00
Bradlee Speice 5d7be8e18e Fix conditional compilation guards 2018-11-18 21:29:32 -05:00
Bradlee Speice 79f57ba2f9 Slight docs update 2018-11-17 11:04:37 -05:00
Bradlee Speice 8b4ebe8c88 Get version 0.4 ready 2018-11-15 20:16:49 -05:00
Bradlee Speice d9bc210ba0 Revert "Don't use proc macro"
This reverts commit 000d0032a9.
2018-11-14 23:38:21 -05:00
Bradlee Speice 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
Bradlee Speice af2781b453 Strip QADAPT symbols for release-mode builds 2018-11-13 22:30:41 -05:00
Bradlee Speice 84739c4dd1 Handle actual functions 2018-11-12 22:30:09 -05:00
Bradlee Speice 76091906cc I lied, the cleanup is never done 2018-11-11 22:37:00 -05:00
Bradlee Speice 901e7941a2 Final cleanup, time to commit 2018-11-11 22:34:05 -05:00
Bradlee Speice 8bc768e40b Get the proc macro working. It's time to release. 2018-11-11 22:22:24 -05:00
Bradlee Speice 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
Bradlee Speice 4e16b79486 Rustfmt run 2018-11-10 21:59:39 -05:00
Bradlee Speice 1faa353706 Docs updates and thread_id crate 2018-11-10 21:54:13 -05:00
Bradlee Speice de7edaeb0c Update the docs 2018-11-10 21:36:23 -05:00
Bradlee Speice a7df1639ce Fix some deadlock issues
Slower, but much safer internal allocation guard
2018-11-10 20:54:35 -05:00
Bradlee Speice 753b3a4e8b Multi-threaded allocation checker!
Holy crap that was much harder than expected
2018-11-10 01:30:39 -05:00
Bradlee Speice 18d1c3e6d1 Start work on a procedural macro
Turns out the system still needs some work.
2018-11-06 23:04:26 -05:00
Bradlee Speice 16a0238dc5 Add some more tests 2018-11-06 20:51:44 -05:00
Bradlee Speice 03310c6372 Much simpler take, and actually works this time. 2018-11-05 21:58:33 -05:00
Bradlee Speice 7fde099c3a Enable per-thread tracking 2018-09-23 12:37:07 -04:00
Bradlee Speice 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
Bradlee Speice 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
Bradlee Speice a489f71ae2 Add an initial pass on an allocation tracing tool 2018-09-21 22:34:42 -04:00