Skip to content

Question about Alloc_With_Allocator #303

@kk8916

Description

@kk8916

Referring to some examples of embedded OS,I ported the WAMR to an embedded OS successfully. It can work my sample of aot file well. I noticed that in some examples of embedded OS, the mem_alloc_type is Alloc_With_Pool . I used it, too. But when I tried to define the mem_alloc_type as Alloc_With_Allocator, something was wrong. I didn't change anything except to initialize the memory allocation functions for the embedded operating system's functions. Sometimes it prints nothing and sometimes it prints magic header not detected. Should I change more code? What scenarios will use the Alloc_With_Allocator type?

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