Add scouts honor escape hatch for source embedding

This commit is contained in:
Justine Tunney
2020-06-15 19:01:28 -07:00
parent c91b3c5006
commit b4269930f7
547 changed files with 1516 additions and 944 deletions

View File

@@ -18,7 +18,7 @@
02110-1301 USA
*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Directly calls ftruncate() impl on host o/s if available.
ftruncate$sysv:

View File

@@ -18,7 +18,7 @@
02110-1301 USA
*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Calls GetTempPathA() w/ different API.
/

View File

@@ -19,7 +19,7 @@
*/
#include "libc/dce.h"
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Directly calls lseek() impl on host o/s if available.
lseek$sysv:

View File

@@ -18,7 +18,7 @@
02110-1301 USA
*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Directly calls mmap() on system five host o/s.
mmap$sysv:

View File

@@ -19,7 +19,7 @@
*/
#include "libc/macros.h"
.text.windows
.yoink __FILE__
.source __FILE__
onntconsoleevent$nt:
ezlea onntconsoleevent,ax

View File

@@ -19,7 +19,7 @@
*/
#include "libc/macros.h"
.text.windows
.yoink __FILE__
.source __FILE__
onwincrash$nt:
ezlea onwincrash,ax

View File

@@ -18,7 +18,7 @@
02110-1301 USA
*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Directly calls pread() impl on host o/s if available.
pread$sysv:

View File

@@ -18,7 +18,7 @@
02110-1301 USA
*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Directly calls preadv() impl on host o/s if available.
preadv$sysv:

View File

@@ -18,7 +18,7 @@
02110-1301 USA
*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Directly calls pwrite() impl on host o/s if available.
pwrite$sysv:

View File

@@ -18,7 +18,7 @@
02110-1301 USA
*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Directly calls pwritev() impl on host o/s if available.
pwritev$sysv:

View File

@@ -18,7 +18,7 @@
02110-1301 USA
*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Directly calls truncate() impl on host o/s if available.
truncate$sysv: