Ed Morley
Ed Morley
We could enable LTO (link time optimisation) and/or reduce codegen-units to 1 for `cargo libcnb package --release` builds and see how it improves binary size (and to a lesser extent,...
`BuildPlanBuilder` is meant to be used roughly like so: ```rust let build_plan = BuildPlanBuilder::new() .provides("python") .provides("pip") .or() .provides("python") .build(); ``` With the resultant build plan eventually being serialised to the...
eg: ``` [Checking Node.js version] Detected Node.js version range: >=16.9.0
Buildpack API 0.8 deprecates positional arguments for `bin/detect` and `bin/build` in favour of environment variables: https://github.com/buildpacks/rfcs/blob/main/text/0100-buildpack-input-vars.md Whilst the old arguments will not be removed ([reference](https://github.com/buildpacks/rfcs/blob/main/text/0100-buildpack-input-vars.md#how-it-works)), (a) they are still deprecated,...
When developing a buildpack there are a few ways to iterate, that all have their place: 1. Via compiler + Clippy + unit test feedback 2. Via `libcnb-test` powered integration...
Currently `cargo libcnb package` defaults to dev/debug builds. To enable release builds, one has to explicitly pass `--release`. I can see users forgetting to do so when compiling/packaging their buildpacks...
Iff an `app_dir_preprocessor` is set in the `TestConfig`, `app::copy_app` is used to copy the fixture directory to a temporary location, so that it can then be modified by the specified...
Something that came up in our team huddle today was that if a Layer has a `types()` that includes `cache: true`, then if the Layer doesn't implement `existing_layer_strategy()` the layer...
As found in #313, libcnb is not currently compilable on Windows. In order to (a) find out what needs fixing, (b) ensure it doesn't regress when we do fix it,...
As part of getting set up with a libcnb.rs powered buildpack, users will run `cargo install libcnb-cargo`, which installs the latest `libcnb-cargo` available at the time. Over time we will...