Unverified Commit c2a7bd7b authored by winston's avatar winston
Browse files

wasmtime: don't propagate binaries for C API & library

parent 32a81ea5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -48,6 +48,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
      # error: linker `rust-lld` not found
      !isAarch64;

  # prevent $out from being propagated to $dev:
  # the library and header files are not dependent on the binaries
  propagatedBuildOutputs = [ ];

  postInstall =
    let
      inherit (stdenv.targetPlatform.rust) cargoShortTarget;