{"id":17166550,"url":"https://github.com/willcrichton/example-analyzer","last_synced_at":"2025-07-03T23:33:15.906Z","repository":{"id":55824941,"uuid":"319802963","full_name":"willcrichton/example-analyzer","owner":"willcrichton","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-15T03:43:50.000Z","size":105718,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T15:13:31.891Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willcrichton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-09T01:03:59.000Z","updated_at":"2021-11-06T04:05:46.000Z","dependencies_parsed_at":"2022-08-15T07:30:35.672Z","dependency_job_id":null,"html_url":"https://github.com/willcrichton/example-analyzer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willcrichton/example-analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willcrichton%2Fexample-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willcrichton%2Fexample-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willcrichton%2Fexample-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willcrichton%2Fexample-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willcrichton","download_url":"https://codeload.github.com/willcrichton/example-analyzer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willcrichton%2Fexample-analyzer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263421460,"owners_count":23464012,"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":[],"created_at":"2024-10-14T23:06:00.140Z","updated_at":"2025-07-03T23:33:15.803Z","avatar_url":"https://github.com/willcrichton.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# example-analyzer\n\nThis repo is now out of date. Please see the newer implementation described in the [RFC](https://github.com/rust-lang/rfcs/pull/3123).\n\n## Setup\n\n```bash\ngit clone -b linked-examples https://github.com/willcrichton/rust\ncd rust\n./x.py build\n# replace `apple-darwin` with your current target as appropriate\nrustup toolchain link custom-rustdoc build/x86_64-apple-darwin/stage1\ncd ..\ngit clone https://github.com/willcrichton/example-analyzer\ncd example-analyzer\ncargo build\n```\n\n## Example\n\n```bash\n# NOTE: the directory you run this from is important since the project uses\n# `rust-toolchain`\n# On MacOS, use `DYLD_LIBRARY_PATH` instead.\nexport LD_LIBRARY_PATH=$(rustc --print sysroot)/lib\ncd doctest\n../target/debug/example-analyzer\ncargo +custom-rustdoc rustdoc --open -- -Z unstable-options \\\n    --repository-url $(git remote get-url origin)/tree/$(git rev-parse HEAD) \\\n    --call-locations .call_locations.json\n```\n\n## Development\n\nIf you change the Rust repo (i.e. rustdoc) then run:\n\n```\n(cd ../../rust \u0026\u0026 ./x.py build)\n# also re-run `cargo rustdoc`\n```\n\nIf you change example-analyzer then run:\n\n```\n(cd .. \u0026\u0026 cargo build)\n../target/debug/example-analyzer\n# also re-run `cargo rustdoc`\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillcrichton%2Fexample-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillcrichton%2Fexample-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillcrichton%2Fexample-analyzer/lists"}