Skip to content

Commit b66b458

Browse files
author
Andrew Klitzke
committed
debug
1 parent ee3c2c0 commit b66b458

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,11 @@ class RustPlugin {
123123
let rustFunctionsFound = false;
124124
this.functions().forEach(funcName => {
125125
const func = service.getFunction(funcName);
126+
console.log("func");
127+
console.log(func);
126128
const runtime = func.runtime || service.provider.runtime;
129+
console.log("runtime");
130+
console.log(runtime);
127131
if (runtime != RUST_RUNTIME) {
128132
// skip functions which don't apply to rust
129133
return;
@@ -156,8 +160,10 @@ class RustPlugin {
156160
`target/lambda/${"dev" === profile ? "debug" : "release"}`,
157161
binary + ".zip"
158162
);
163+
console.log(`art ${artifactPath}`);
159164
func.package = func.package || {};
160165
func.package.artifact = artifactPath;
166+
console.log(`package ${func.package}`);
161167

162168
// Ensure the runtime is set to a sane value for other plugins
163169
if (func.runtime == RUST_RUNTIME) {

0 commit comments

Comments
 (0)