Build debug with thin lto

This commit is contained in:
topjohnwu
2024-07-31 16:57:30 -07:00
parent 46a34e19bc
commit 606d076251
5 changed files with 68 additions and 41 deletions

View File

@@ -12,7 +12,12 @@
using namespace std;
#ifdef USE_CRT0
__asm__(".global vfprintf \n vfprintf = tfp_vfprintf");
__BEGIN_DECLS
int tfp_vfprintf(FILE *stream, const char *format, va_list arg);
int vfprintf(FILE *stream, const char *format, va_list arg) {
return tfp_vfprintf(stream, format, arg);
}
__END_DECLS
#endif
bool unxz(out_stream &strm, rust::Slice<const uint8_t> bytes) {