Evan Nemerson
Evan Nemerson
You could look at [GLib's Constructors](https://gitlab.gnome.org/GNOME/glib/blob/master/glib/gconstructor.h) for an idea of how to do this *somewhat* portably, but AFAIK there is just to guaranteed way to do this. I think a...
Ah right, C++. Sorry, not used to thinking in C++. I don't know about it being a "portable" approach (IIRC there can be some issues if you use them in...
> I didn't think much about C specifically, but yeah now that C benchmarks are supported it would be nice to come up with an approach there. One option would...
I've been assuming one group per shared library, but if you'd prefer it would be fairly easy to do something like ```c typedef struct UarchCtx_ UarchCtx; typedef struct UarchGroup_ UarchGroup;...
> Really, why? That would basically break any code that relies on this standard and widespread feature, which is probably most C++ code. It seems unlikely to me that this...
I would suggest a separate repo instead.
Or just something like (untested, typing on phone): ``` submodule/file: .git git submodule update --init --recursive ``` I guess it may be a bit too magical for some people, but...
Because if they download a tarball or zip from GitHub it won't include the git files (or submodules). GitHub's tarballs are broken if you use submodules, and there is no...
> @nemequ I see, so in the case a user downloaded a tarball, they would get some error like "no rule to make .git" or something? Right. > Git submodules...
Oh, yeah you're right that's definitely annoying. FWIW [git-radar](https://github.com/michaeldfallen/git-radar) makes that sort of thing a bit easier to spot.