Meriel Luna Mittelbach
Meriel Luna Mittelbach
Does mixing targets work? I.e. building `core` with a32, but other code with t32? What about crates that want to default to a32, but downstream is t32? Will the crates...
I didn't set up a ramdisk or anything in TWLM so unless it's automatic I don't really know what the difference is between running it through TWLM and running it...
Just ran into a bug in my code where I wanted to offset some allocated memory (VirtualAllocEx returns LPVOID which is *mut winapi::ctypes::c_void), where `add(offset)` was a no-op because winapi's...
It is worth mentioning that the C standard makes empty structs UB. > (C11, 6.7.2.1 Structure and union specifiers p8) "If the struct-declaration-list does not contain any named members, either...
Trying to cross-compile on Linux with mingw-w64 with this ``` make PLATFORM=MINGW64 CC=x86_64-w64-mingw32-gcc ``` This utterly explodes at me: ``` x86_64-w64-mingw32-gcc -Werror -Wall -Wno-unknown-warning -Wno-unknown-warning-option -Wno-nonnull -Wno-unused-result -Wno-strict-aliasing -Wno-multichar -Wno-int-in-bool-context...
yes I could fix the includes. I also needed to fix the OPENDIALOG thing, hardcoding it to use the windows one also, mingw doesn't recognize the clang-specific `--target=i386-pc-windows`.
there was also a missing -std=gnu11, I think. (the error was %llu being an invalid formst specifier)
I thought the top of the Makefile is supposed to check PLATFORM against MINGW. Is this broken?
Dunno if this has been solved, but I would just treat the register as R/W but use an mmio_type that only has getters for the read-only bits Read-only bits should...
Same problem here, no idea what the fix is, aside from downgrading compilers.