Closed mattyclarkson closed 3 months ago
Switches to assimilating the APE binaries.
This release adds a new ape_assimilate rule that takes a "fat" APE binary and outputs a native binary.
ape_assimilate
The assimilated binary is entirely hermetic.
This avoids the need for runfiles when starting the binary with the APE launcher.
Avoiding the need for runfiles removes a bootstrapping problem: to find the runfiles in Shell, one needs at least readlink and/or other POSIX tools.
readlink
As ape is going to be bottom of the stack in lots of cases, this is unacceptable.
ape
Assimilating the binaries avoids the need for any runfiles.
Switches to assimilating the APE binaries.
This release adds a new
ape_assimilate
rule that takes a "fat" APE binary and outputs a native binary.The assimilated binary is entirely hermetic.
This avoids the need for runfiles when starting the binary with the APE launcher.
Avoiding the need for runfiles removes a bootstrapping problem: to find the runfiles in Shell, one needs at least
readlink
and/or other POSIX tools.As
ape
is going to be bottom of the stack in lots of cases, this is unacceptable.Assimilating the binaries avoids the need for any runfiles.