{"id":24369955,"url":"https://github.com/unikraft/lib-musl","last_synced_at":"2025-04-10T17:29:24.557Z","repository":{"id":39752880,"uuid":"237171950","full_name":"unikraft/lib-musl","owner":"unikraft","description":"musl: A C standard library","archived":false,"fork":false,"pushed_at":"2025-02-25T22:57:48.000Z","size":166,"stargazers_count":10,"open_issues_count":11,"forks_count":30,"subscribers_count":10,"default_branch":"staging","last_synced_at":"2025-03-24T15:11:13.459Z","etag":null,"topics":["library","musl","unikraft"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unikraft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING.md","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}},"created_at":"2020-01-30T08:42:27.000Z","updated_at":"2025-02-25T22:53:16.000Z","dependencies_parsed_at":"2023-02-18T08:00:22.516Z","dependency_job_id":"08486c0d-db5a-4ccb-8aec-0090d6688a82","html_url":"https://github.com/unikraft/lib-musl","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unikraft%2Flib-musl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unikraft%2Flib-musl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unikraft%2Flib-musl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unikraft%2Flib-musl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unikraft","download_url":"https://codeload.github.com/unikraft/lib-musl/tar.gz/refs/heads/staging","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248261983,"owners_count":21074229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["library","musl","unikraft"],"created_at":"2025-01-19T04:11:08.162Z","updated_at":"2025-04-10T17:29:24.524Z","avatar_url":"https://github.com/unikraft.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Musl\n\n[Musl](https://musl.libc.org/) is a standard C library (libc) providing POSIX support on top of the Linux system call API.\nThese are support files for Musl support in Unikraft.\n\nMusl is the default and recommended libc for Unikraft.\n[`newlib`](https://github.com/unikraft/lib-newlib) is another libc available for Unikraft.\nMusl provides thread support natively, while `newlib` requires [`pthread-embedded`](https://github.com/unikraft/lib-pthread-embedded/);\nMusl doesn't require (and must not be built with) `pthread-embedded`.\n\nNote that [`lwip`](https://github.com/unikraft/lib-lwip) is required for networking support.\n\n## Using Musl with Unikraft\n\nMusl is to be used as the standard C library in Unikraft applications, such as [`app-nginx`](https://github.com/unikraft/app-nginx).\nThe application build system must be aware of the location of the local clone of the Musl repository.\nWhen Musl is selected the [internal Unikraft `nolibc` library](https://github.com/unikraft/unikraft/tree/staging/lib/nolibc) will be unselected.\n\n## Remarks\n\nThe default configuration doesn't include complex number support, i.e. the `LIBMUSL_COMPLEX` option is disabled (see `Config.uk`);\nsee [commit `45c4aa58`](https://github.com/unikraft/lib-musl/commit/45c4aa586fa0a215ebd1bc2950f5fe249d1b965c).\nThis is because, in case of using Clang to build Musl, the symbol `_muldc3` (used for complex numbers) is undefined;\nin case of using Clang and requiring complex number support, [`compiler-rt`](https://github.com/unikraft/lib-compiler-rt/) is to be included to the build.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funikraft%2Flib-musl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funikraft%2Flib-musl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funikraft%2Flib-musl/lists"}