Closed gavriliumircea closed 10 months ago
Before trying to run the action it is mandatory to recreate
.cargo/config.toml
file
Am I right that this is because vercel build
does not allow us to pass custom compilation options, and so we need to resort to the configuration file approach?
It seems like it but the vercel team doesn't really offer a proper explanation or an alternative for that config file.
Yes, it seems like it. I asked them yesterday why there's that requirement:
Right now the "Merkle API Deployment on Vercel" github action cannot be used. This seems to be related to a mismatch between the rust build target and the linux image created by vercel. Before trying to run the action it is mandatory to recreate .cargo/config.toml file (https://github.com/vercel-community/rust#prebuilt-deployments). Before trying to a fix check the list bellow that contains a series of commits with "failed fixes attempts":