Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove runtime dependency on libstdc++ #3564
@jkotas CoreRT uses new / delete operators and these are implemented in the libstdc++. It also uses std::terminate. And the System.Globalization.Native uses std::string.
I have looked at the Exceptions simple test to find the symbols using
Yes, these are the kind of dependencies that I meant. E.g. we can have our own trivial local impl instead of pulling in the libstdc++ dependency.
I am not worried about System.Globalization.Native as much. If you link with System.Globalization.Native, you are pulling in the large libicu dependency (order of magnitude more than libstdc++) and so the extra libc++ does not matter. I think this is really only interesting with the InvariantGlobalization-only config that does not have the libicu dependency: micro-service, running on vanilla Alpine, ... .