Skip to content

[browser] Improvements for native library linking #94187

@maraf

Description

@maraf
  • Missing blittable types
    • Enum
    • Structures
    • Function pointers (blocked on S.R version due to MSBuild),
      • ❓Should we allow to manually pass additiona signatures we can't parse?
      • 💡Rewrite generator to S.R.M
  • Frozen emscripten cache
  • Uno's WasmShellAdditionalPInvokeLibrary
    • Matches our internal _WasmPInvokeModules
    • We compute the list from NativeFileReference
    • ❓Should we make the MSBuild item public?
  • Managed2Native static local function - invalid trampoline name
  • Multiple pinvokes with the same entry point should generate separate entries in pinvoke-table.h with appropriate signatures
    • This appears to not actually be possible due to WASM's ABI, so marking as complete. Anyone who needs this can file an issue to discuss further.
  • Delegates in pinvokes
  • Strings in pinvokes
  • Varargs in pinvokes
  • InlineArray in pinvokes
  • Empty structs in pinvokes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions