forked from lobo/lambda-zig
remove build comments from main
This commit is contained in:
parent
85f755e0dd
commit
48ceb136de
|
@ -1,15 +1,6 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const lambda = @import("lambda.zig");
|
const lambda = @import("lambda.zig");
|
||||||
|
|
||||||
// zig package -Drelease-safe does the following:
|
|
||||||
//
|
|
||||||
// zig build -Drelease-safe
|
|
||||||
// strip zig-out/bin/bootstrap # should this be stripped?
|
|
||||||
// zip -j9 zig-out/bin/function.zip zig-out/bin/bootstrap
|
|
||||||
//
|
|
||||||
// zig deploy will also do something like:
|
|
||||||
//
|
|
||||||
// aws lambda update-function-code --function-name zig-test --zip-file fileb://function.zip
|
|
||||||
pub fn main() anyerror!void {
|
pub fn main() anyerror!void {
|
||||||
try lambda.run(handler);
|
try lambda.run(handler);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user