Skip to content

Cannot use RUST for ARM Graviton2 Lambda #354

Closed
@Aleksandr-Filichkin

Description

@Aleksandr-Filichkin

Hi Everyone,

I'm trying to deploy RUST lambda for ARM lambda. I was able to compile the code for target 'aarch64-unknown-linux-gnu', but during invocation, I see such an error:
/var/task/bootstrap: line 3: 9 Segmentation fault (core dumped) ./app END RequestId: 048e5e8c-538a-4447-b917-b46414c3d377 REPORT RequestId: 048e5e8c-538a-4447-b917-b46414c3d377 Duration: 212.24 ms Billed Duration: 257 ms Memory Size: 256 MB Max Memory Used: 37 MB Init Duration: 44.59 ms XRAY TraceId: 1-616e7dfc-07e7e2237a96edf63c5b43e7 SegmentId: 2d628b5e454f8dee Sampled: true RequestId: 048e5e8c-538a-4447-b917-b46414c3d377 Error: Runtime exited with error: exit status 139Runtime.ExitError

All code you can find here (https://github.com/Aleksandr-Filichkin/aws-lambda-runtimes-performance/blob/arm-lambda/rust-aws-lambda/Dockerfile.arm)

The code works for the non-arm Lambda

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions