Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial emscripten work #30453

Closed
wants to merge 3 commits into from
Closed

Commits on Dec 22, 2015

  1. Add the asmjs-unknown-emscripten triple. Add cfgs to libs.

    Backtraces, and the compilation of libbacktrace for asmjs, are disabled.
    
    This port doesn't use jemalloc so, like pnacl, it disables jemalloc *for all targets*
    in the configure file.
    
    It updates libc to not link to -m and -rt since all emscripten runtime components
    are part of libc. Emscripten libc is musl.
    
    It disables stack protection.
    brson committed Dec 22, 2015
    Configuration menu
    Copy the full SHA
    3bfc36c View commit details
    Browse the repository at this point in the history
  2. rustc: Add obj_is_bitcode to TargetOptions

    This tells trans::back::write not to LLVM codegen to create .o
    files but to put LLMV bitcode in .o files.
    
    Emscripten's emcc supports .o in this format, and this is,
    I think, slightly easier than making rlibs work without .o
    files.
    brson committed Dec 22, 2015
    Configuration menu
    Copy the full SHA
    6f706a5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b723bad View commit details
    Browse the repository at this point in the history