Skip to content

Commit 527685b

Browse files
avrabeclaude
andcommitted
fix: update runfiles path to match renamed file_ops directory
The main.go file was still looking for the AOT artifact at the old tools/file_ops_external path. This caused runfiles initialization to fail in hermetic sandboxes where the file_ops binary couldn't find its dependencies. Update the Rlocation path from: - "_main/tools/file_ops_external/file_ops_aot.cwasm" to: - "_main/tools/file_ops/file_ops_aot.cwasm" Fixes CI failures with: "Failed to initialize runfiles: runfiles: no runfiles found" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 60732f6 commit 527685b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/file_ops/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func main() {
3535

3636
// Try to locate locally-compiled AOT artifact
3737
// This is compiled at build time with the user's Wasmtime version - guaranteed compatible!
38-
aotPath, err := r.Rlocation("_main/tools/file_ops_external/file_ops_aot.cwasm")
38+
aotPath, err := r.Rlocation("_main/tools/file_ops/file_ops_aot.cwasm")
3939
useAOT := err == nil
4040

4141
if useAOT {

0 commit comments

Comments
 (0)