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

[release/6.0-preview7] [wasm] Add support for using custom native libraries #56013

Merged

Commits on Jul 22, 2021

  1. [wasm] Add support for using custom native libraries (dotnet#55797)

    (cherry picked from commit d574b03)
    radical committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    b0c2e73 View commit details
    Browse the repository at this point in the history
  2. [wasm] Use compile rsp instead of link, for compiling native files (d…

    …otnet#55848)
    
    .. and fix logging that broke recently.
    
    `tasks/Common/Utils.cs`:
    
    TaskLoggingHelper Utils.Logger is a static field, which must be set by
    task else any methods in Utils, eg. RunProcess, silently fail to log
    any messages. Also, this would be a problem when building multiple
    projects in parallel, since the logger is a task-specific one.
    
    Instead, we pass logger as an arg to all the methods.
    
    (cherry picked from commit 3301e9d)
    radical committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    9054d5e View commit details
    Browse the repository at this point in the history
  3. Link with EmccCompileOptimizationFlag==-Oz by default in release (dot…

    …net#55939)
    
    (cherry picked from commit 04072ff)
    lewing authored and radical committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    78773d1 View commit details
    Browse the repository at this point in the history
  4. [wasm] Fix regression in compiling .bc -> .o files (dotnet#56063)

    * [wasm] Add back --emit-llvm that got removed mistakenly, in an earlier commit
    
    .. found thanks to Jerome Laban.
    
    * [wasm] Set EmccCompile's messages to MessageImportance.Low by default.
    
    .. and to MessageImportance.Normal if `$(EmccVerbose)==true`.
    
    * [wasm] Quote filenames passed to emcc compile command line
    
    * Add more blazorwasm tests - for debug/release, aot/relinking
    
    * Bump sdk for workload testing to 6.0.100-rc.1.21370.2
    
    * [wasm] Fix regression in compiling bitcode -> .o
    
    The `-emit-llvm` arg has been incorrectly added, and removed from the
    args used for compiling .bc->.o .
    
    This commit fixes it, and adds a crude test for it, so we don't regress
    again.
    
    * Fix build
    
    (cherry picked from commit 1d8ad03)
    radical committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    e56e13b View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. Configuration menu
    Copy the full SHA
    d27d83c View commit details
    Browse the repository at this point in the history