Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kata: remove rustc from agent closure #1032

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Commits on Nov 26, 2024

  1. kata: remove rustc from agent closure

    The `sev` crate specifies a crate type of `dylib`, which results in a
    libsev.so library in the output of makeRustPackage. The library is
    intended for use under FFI (i.e., from C) and not necessary for the
    agent binary.
    
    Removing the library sheds some 800MiB of rustc from the agent's
    closure and reduces the podvm-image size by 1.4GiB.
    
    ```
    $ nix-store --query --size /nix/store/aw6s09mwmbifnxbm6587kgwm46jgmaa6-image-podvm-gpu-1-rc1 # before
    2694330064
    $ nix-store --query --size /nix/store/z14q27diajh5x3iqkbckcnvp6gb7bkr7-image-podvm-gpu-1-rc1 # after
    1264297680
    ```
    burgerdev committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    094665c View commit details
    Browse the repository at this point in the history