Skip to content

imor/capability-providers

 
 

Repository files navigation

capability-providers

This repo contains first-party native capability providers for waSCC, and the tools to build and develop them.

Supported platforms

Platforms are architecture/operating system combinations. All of the capability providers can be cross-compiled with the tooling in this repo:

  • arm-linux
  • aarch64-linux
  • x86_64-macos (requires fork of cross)
  • x86_64-linux
  • x86_64-windows

x86_64-macos requires installing a fork of cross until the PR adding the x86_64-apple-darwin target is accepted. It can be installed to $HOME/.cargo/bin via cargo:

cargo install --git https://github.com/ChrisRx/cross --branch add-darwin-target --force

MIPS-based architectures are not cross-compiled by default because some capability providers have dependencies that do not currently support MIPS. In particular, anything using rustls will not compile for MIPS-based architectures until ring, a cryptography library that rustls depends on, fully supports MIPS.

Getting started

You can cross-compile every provider running:

make all

or just a particular provider:

make http-client

If you want to try building a provider archive that includes MIPS-based architectures, run this from the directory of the specific provider:

make par-mips

This will build a provider archive that includes all supported platforms include ones that have MIPS-based architectures.

About

First-party and sample capability providers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 88.7%
  • Makefile 11.3%