Skip to content

AsmJS' malloc aborts on OOM instead of returning NULL #48968

Closed

Description

@snf

It should be as easy as passing the flag ABORTING_ALLOC=0 to emcc.
It's blocking Fallible Allocation RFC

Activity

  1. added
    C-enhancementCategory: An issue proposing an enhancement or a PR with one.
    A-allocatorsArea: Custom and system allocators
    T-libs-api[DEPRECATED; DO NOT USE]
    O-asmjsTarget: asm.js - http://asmjs.org/
    on Mar 15, 2018
  2. added a commit that references this issue on Mar 15, 2018
    90230ce
  3. added
    O-emscriptenTarget: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL!
    on Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-allocatorsArea: Custom and system allocatorsC-enhancementCategory: An issue proposing an enhancement or a PR with one.O-asmjsTarget: asm.js - http://asmjs.org/O-emscriptenTarget: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL!T-libs-api[DEPRECATED; DO NOT USE]

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions