{"id":29419869,"url":"https://github.com/bytecodealliance/wasm-component-ld","last_synced_at":"2026-04-03T23:02:04.001Z","repository":{"id":212148198,"uuid":"730825555","full_name":"bytecodealliance/wasm-component-ld","owner":"bytecodealliance","description":"Command line linker for creating WebAssembly components","archived":false,"fork":false,"pushed_at":"2026-02-20T22:40:38.000Z","size":289,"stargazers_count":46,"open_issues_count":1,"forks_count":6,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-03-31T00:38:37.069Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bytecodealliance.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-12T18:54:47.000Z","updated_at":"2026-03-29T04:35:06.000Z","dependencies_parsed_at":"2023-12-12T20:14:54.190Z","dependency_job_id":"dddcff1c-d189-49d8-b1c2-b4f758fb7a02","html_url":"https://github.com/bytecodealliance/wasm-component-ld","commit_stats":null,"previous_names":["alexcrichton/wasm-component-ld","bytecodealliance/wasm-component-ld"],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/bytecodealliance/wasm-component-ld","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fwasm-component-ld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fwasm-component-ld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fwasm-component-ld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fwasm-component-ld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bytecodealliance","download_url":"https://codeload.github.com/bytecodealliance/wasm-component-ld/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Fwasm-component-ld/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31381008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T21:40:47.592Z","status":"ssl_error","status_checked_at":"2026-04-03T21:40:05.436Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-12T01:13:11.498Z","updated_at":"2026-04-03T23:02:03.963Z","avatar_url":"https://github.com/bytecodealliance.png","language":"Rust","readme":"# `wasm-component-ld`\n\nThis crate contains a binary named `wasm-component-ld` which is a wrapper around\ntwo pieces of functionality used to produce a [WebAssembly Component]\n\n1. The `wasm-ld` linker driver provided by LLVM\n2. The [`wit_component::ComponentEncoder`] type\n\nThis binary will first invoke `wasm-ld` and then run the componentization\nprocess to produce a final component.\n\n[WebAssembly Component]: https://component-model.bytecodealliance.org/\n[`wit_component::ComponentEncoder`]: https://docs.rs/wit-component/latest/wit_component/struct.ComponentEncoder.html\n\n## Installation\n\nThis repository provides [precompiled\nbinaries](https://github.com/bytecodealliance/wasm-component-ld/releases) of\n`wasm-component-ld`. This repository can also be installed with [`cargo binstall`].\n\nInstallations of [wasi-sdk] have this binary packaged by default in the sysroot\nand the Rust `wasm32-wasip2` target, upon reaching tier 2, will also come\npackaged with this binary included.\n\nThis means that while a version can be installed manually it should not be\nrequired to do so.\n\n[`cargo binstall`]: https://github.com/cargo-bins/cargo-binstall\n[wasi-sdk]: https://github.com/WebAssembly/wasi-sdk\n\n## Options\n\nThe `wasm-component-ld` binary is suitable to use as a linker driver during\ncompilations. For Clang and Rust the `wasm32-wasip2` target will automatically\ninvoke this binary as the linker.\n\nThis means that `wasm-component-ld` forwards most of its arguments to `wasm-ld`.\nAdditionally all flags of `wasm-ld` are supported and forwarded to `wasm-ld`.\nFor example you can invoke the linker like `wasm-component-ld --max-memory=N\n...`.\n\nThe `wasm-component-ld` binary has a few custom arguments for itself as well\nwhich are not forwarded to `wasm-ld` and can be explored with `-h` or `--help`.\n\n# License\n\nThis project is triple licenced under the Apache 2/ Apache 2 with LLVM exceptions/ MIT licences. The reasoning for this is:\n- Apache 2/ MIT is common in the rust ecosystem.\n- Apache 2/ MIT is used in the rust standard library, and some of this code may be migrated there.\n- Some of this code may be used in compiler output, and the Apache 2 with LLVM exceptions licence is useful for this.\n\nFor more details see\n- [Apache 2 Licence](LICENSE-APACHE)\n- [Apache 2 Licence with LLVM exceptions](LICENSE-Apache-2.0_WITH_LLVM-exception)\n- [MIT Licence](LICENSE-MIT)\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this project by you, as defined in the Apache 2/ Apache 2 with LLVM exceptions/ MIT licenses,\nshall be licensed as above, without any additional terms or conditions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytecodealliance%2Fwasm-component-ld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytecodealliance%2Fwasm-component-ld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytecodealliance%2Fwasm-component-ld/lists"}