Skip to content

Commit 34b9e2c

Browse files
committed
Add some TODO comments
1 parent 72e3866 commit 34b9e2c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/solana-bpf-tools/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ with pkgs;
99
stripRoot = false;
1010
};
1111

12+
# TODO autoPatchElf is Linux-specific. We need a cross-platform solution.
1213
nativeBuildInputs = [autoPatchelfHook];
1314

1415
buildInputs = with pkgs; [

packages/wasmd/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ buildGoModule rec {
2323

2424
postBuild = ''
2525
mkdir -p "$out/lib"
26+
# TODO: The correct binary below should depend on the current OS and CPU
2627
cp "$GOPATH/pkg/mod/github.com/!cosm!wasm/[email protected]/api/libwasmvm.x86_64.so" "$out/lib"
2728
'';
2829

2930
postInstall = ''
3031
addAutoPatchelfSearchPath "$out/lib"
32+
# TODO: autoPatchElf is Linux-specific. We need a cross-platform solution
3133
autoPatchelf -- "$out/bin"
3234
'';
3335

0 commit comments

Comments
 (0)