{"id":27734614,"url":"https://github.com/maxdeviant/wasmtime-current-dir-repro","last_synced_at":"2025-04-28T13:38:38.444Z","repository":{"id":282948034,"uuid":"950187677","full_name":"maxdeviant/wasmtime-current-dir-repro","owner":"maxdeviant","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-17T19:53:17.000Z","size":5,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T20:29:36.042Z","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/maxdeviant.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-17T19:08:27.000Z","updated_at":"2025-03-17T19:30:07.000Z","dependencies_parsed_at":"2025-03-17T23:15:25.078Z","dependency_job_id":null,"html_url":"https://github.com/maxdeviant/wasmtime-current-dir-repro","commit_stats":null,"previous_names":["maxdeviant/wasmtime-current-dir-repro"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fwasmtime-current-dir-repro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fwasmtime-current-dir-repro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fwasmtime-current-dir-repro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdeviant%2Fwasmtime-current-dir-repro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxdeviant","download_url":"https://codeload.github.com/maxdeviant/wasmtime-current-dir-repro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251320887,"owners_count":21570654,"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":"2025-04-28T13:38:37.834Z","updated_at":"2025-04-28T13:38:38.423Z","avatar_url":"https://github.com/maxdeviant.png","language":"Rust","readme":"# Wasm `std::env::current_dir` repro\n\n```\ncargo build --target wasm32-wasip1\nwasmtime run --dir=$PWD --env PWD ./target/wasm32-wasip1/debug/wasm-current-dir-repro.wasm\n```\n\n## Output\n\n### macOS\n\n```\nPWD: \"/Users/runner/work/wasmtime-current-dir-repro/wasmtime-current-dir-repro\"\nBefore: \"/\"\nAfter: \"/Users/runner/work/wasmtime-current-dir-repro/wasmtime-current-dir-repro\"\n```\n\n### Linux\n\n```\nPWD: \"/home/runner/work/wasmtime-current-dir-repro/wasmtime-current-dir-repro\"\nBefore: \"/\"\nAfter: \"/home/runner/work/wasmtime-current-dir-repro/wasmtime-current-dir-repro\"\n```\n\n### Windows\n\n```\nPWD: \"D:/a/wasmtime-current-dir-repro/wasmtime-current-dir-repro\"\nBefore: \"/\"\nAfter: \"/D:/a/wasmtime-current-dir-repro/wasmtime-current-dir-repro\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdeviant%2Fwasmtime-current-dir-repro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxdeviant%2Fwasmtime-current-dir-repro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdeviant%2Fwasmtime-current-dir-repro/lists"}