ecklf-tmp-runtime-test
Advanced tools
Comparing version 1.0.139 to 1.0.140
@@ -29,7 +29,2 @@ "use strict"; | ||
const { files, entrypoint, workPath, config, meta } = options; | ||
(0, build_utils_1.debug)(`1, ${JSON.stringify({ | ||
entrypoint, | ||
workPath, | ||
files, | ||
})}`); | ||
yield (0, rust_toolchain_1.installRustToolchain)(); | ||
@@ -73,12 +68,8 @@ (0, build_utils_1.debug)('Creating file system'); | ||
const bin = node_path_1.default.join(targetDirectory, BUILDER_DEBUG ? 'debug' : 'release', (0, utils_1.getExecutableName)(binaryName)); | ||
/* const lambdaOptions = await getLambdaOptionsFromFunction({ */ | ||
/* sourceFile, */ | ||
/* config, */ | ||
/* }); */ | ||
const lambdaOptions = yield (0, build_utils_1.getLambdaOptionsFromFunction)({ | ||
sourceFile: `${workPath}/${entrypoint}`, | ||
config, | ||
}); | ||
const bootstrap = (0, utils_1.getExecutableName)('bootstrap'); | ||
const lambda = new build_utils_1.Lambda({ | ||
files: Object.assign(Object.assign({}, extraFiles), { [bootstrap]: new build_utils_1.FileFsRef({ mode: 0o755, fsPath: bin }) }), | ||
handler: bootstrap, | ||
runtime: 'provided', | ||
}); | ||
const lambda = new build_utils_1.Lambda(Object.assign({ files: Object.assign(Object.assign({}, extraFiles), { [bootstrap]: new build_utils_1.FileFsRef({ mode: 0o755, fsPath: bin }) }), handler: bootstrap, runtime: 'provided' }, lambdaOptions)); | ||
lambda.zipBuffer = yield lambda.createZip(); | ||
@@ -85,0 +76,0 @@ if (isBundledRoute()) { |
{ | ||
"name": "ecklf-tmp-runtime-test", | ||
"version": "1.0.139", | ||
"version": "1.0.140", | ||
"description": "Rust runtime for Vercel Functions.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/vercel-community/rust", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31891
461