Comment #0 by alexandru.cmilitaru — 2019-05-20T13:16:57Z
Bitfields template instantiation introduces unnecessary _GLOBAL_OFFSET_TABLE_ symbol.
Because of this symbol, it is not possible to use D code inside the Linux kernel.
import std.bitmanip;
struct MyStruct
{
mixin(bitfields!(
uint, "x", 2,
uint, "", 6));
}
https://gist.github.com/alexandrumc/ce2363b4f344289e7c8386fa6c3d614d
Comment #1 by robert.schadek — 2024-12-13T19:03:27Z