From 2097524c851b15e89091fd3775817a06f0eeae4f Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 24 Apr 2022 17:39:21 -0700 Subject: fix a few issues preventing no-std builds from ... building this includes a `Makefile` that exercises the various crate configs. most annoyingly, several doc comments needed to grow `#[cfg(feature="fmt")]` blocks so docs continue to build with that feature enabled or disabled. carved out a way to run exhaustive tests; they should be written as `#[ignore]`, and then the makefile will run even ignored tests on the expectation that this will run the exhaustive (but slower) suite. exhaustive tests are not yet written. they'll probably involve spanning 4 byte sequences from 0 to 2^32-1. --- CHANGELOG | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'CHANGELOG') diff --git a/CHANGELOG b/CHANGELOG index 74ee269..4227196 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,18 @@ +## 1.1.5 +* `Makefile` at the crate root now exercises `yaxpeax-x86` builds and tests under: + - default features (fmt, std) + - no-std + fmt + - no-std and no-fmt +* fix several issues prohibiting builds of the crate with no-std +fmt + configurations; the required Display impl for field annotation would simply not + compile in no-fmt builds. it is now a minimal implementation to comply with the + goals of `no-fmt`: "avoid as much extra code and data for formatting + instructions as possible". two dozen bytes for a likely-DCE'd codepath should + be ok. +* adjust test structure so that exhaustive tests can be `#[ignored]` and + explicitly run anyway for completeness. this means the ignored at&t tests now + are both ignored and appear to succeed when run. + ## 1.1.4 * fix reachable unreachable under `DisplayStyle::C` in 64-, 32-, and 16-bit modes * add fuzz target to cover `DisplayStyle::C` formatter for 64-, 32-, and 16-bit modes -- cgit v1.1