Get LIBC_FMT to build for aarch64

This commit is contained in:
Justine Tunney 2023-05-08 22:27:03 -07:00
parent 036b9a0002
commit 7e46645193
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
15 changed files with 482 additions and 618 deletions

View file

@ -16,9 +16,9 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/str/str.h"
#include "libc/str/tab.internal.h"
const signed char kHexToInt[256] = {
_Alignas(int8_t) const int8_t kHexToInt[256] = {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0x00
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0x10
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0x20