{"id":16893944,"url":"https://github.com/coolreader18/wasm-no-drop","last_synced_at":"2026-04-15T08:34:56.333Z","repository":{"id":104017645,"uuid":"173457233","full_name":"coolreader18/wasm-no-drop","owner":"coolreader18","description":null,"archived":false,"fork":false,"pushed_at":"2019-03-02T16:01:04.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T09:48:50.729Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/coolreader18.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":"2019-03-02T14:24:04.000Z","updated_at":"2019-03-02T16:01:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"661317b7-b206-4afd-83e5-c27ba113ad82","html_url":"https://github.com/coolreader18/wasm-no-drop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coolreader18/wasm-no-drop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolreader18%2Fwasm-no-drop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolreader18%2Fwasm-no-drop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolreader18%2Fwasm-no-drop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolreader18%2Fwasm-no-drop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coolreader18","download_url":"https://codeload.github.com/coolreader18/wasm-no-drop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolreader18%2Fwasm-no-drop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31833833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T07:17:56.427Z","status":"ssl_error","status_checked_at":"2026-04-15T07:17:30.007Z","response_time":63,"last_error":"SSL_read: 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":"2024-10-13T17:17:02.502Z","updated_at":"2026-04-15T08:34:56.313Z","avatar_url":"https://github.com/coolreader18.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wasm-no-drop\n\nWhen compiling Rust for WASM, if the code panics, drop() isn't called. This repo is a repr for that behavior.\n\n## Running\n\n### Not WASM\n\nThe code is in [`main.rs`](not-wasm/src/main.rs)\n\nJust cd to `not-wasm` and run `cargo run`. It print out \"panicked at 'panic'\", and then the line after should say \"dropping\".\n\n### WASM\n\nThe code is in [`lib.rs`](wasm/crate/src/lib.rs).\n\ncd to `wasm` and run `npm i; npm run dev`. Then go to http://localhost:8080 and once it all compiles, you should see one\nalert box that says \"no_panic\", but not one that says \"panic\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolreader18%2Fwasm-no-drop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoolreader18%2Fwasm-no-drop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolreader18%2Fwasm-no-drop/lists"}