Title: pkgs/roc: 9 MB compiled ELF (platforms/rust-minimal-cli/build) is tracked in git despite that directory's own .gitignore naming it · Issue #358 · developing-today/code · GitHub
Open Graph Title: pkgs/roc: 9 MB compiled ELF (platforms/rust-minimal-cli/build) is tracked in git despite that directory's own .gitignore naming it · Issue #358 · developing-today/code
X Title: pkgs/roc: 9 MB compiled ELF (platforms/rust-minimal-cli/build) is tracked in git despite that directory's own .gitignore naming it · Issue #358 · developing-today/code
Description: Evidence (verified 2026-10-19 on main 238adf46) pkgs/roc/platforms/rust-minimal-cli/build is tracked and is a 9,025,448-byte ELF 64-bit LSB pie executable (file output), dynamically linked against a machine-specific interpreter: /nix/sto...
Open Graph Description: Evidence (verified 2026-10-19 on main 238adf46) pkgs/roc/platforms/rust-minimal-cli/build is tracked and is a 9,025,448-byte ELF 64-bit LSB pie executable (file output), dynamically linked against ...
X Description: Evidence (verified 2026-10-19 on main 238adf46) pkgs/roc/platforms/rust-minimal-cli/build is tracked and is a 9,025,448-byte ELF 64-bit LSB pie executable (file output), dynamically linked against ...
Opengraph URL: https://github.com/developing-today/code/issues/358
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pkgs/roc: 9 MB compiled ELF (platforms/rust-minimal-cli/build) is tracked in git despite that directory's own .gitignore naming it","articleBody":"## Evidence (verified 2026-10-19 on main `238adf46`)\n\n- `pkgs/roc/platforms/rust-minimal-cli/build` is tracked and is a **9,025,448-byte ELF 64-bit LSB pie executable** (`file` output), dynamically linked against a machine-specific interpreter: `/nix/store/wn7v2vhyyyi6clcyn0s9ixvl7d4d87ic-glibc-2.40-36/lib/ld-linux-x86-64.so.2`, with debug_info, not stripped. It cannot even start on a machine without that exact nix store path — it is one developer's local build output, not a portable artifact.\n- It is the compiled form of the adjacent `build.roc` (the platform builder app). The directory's own `.gitignore` consists of the single line `build`, and `git check-ignore -v --no-index pkgs/roc/platforms/rust-minimal-cli/build` confirms that rule matches this path — the file is tracked despite it, so the rule does nothing.\n- It entered git on 2025-07-12 in bulk commits `6cf10205` / `ab4cc1e2` whose messages are pasted `nixos-rebuild` generation listings (\"amd 389 current 2025-07-12 …\"), i.e. it was swept in, not deliberately published.\n- Nothing references it: repo-wide grep for `rust-minimal-cli/build` (excluding `.git`) finds no code, docs, nix, or CI references.\n\n## Explicitly out of scope (verified, do not touch)\n\n- `pkgs/roc/build` is a **symlink to `lib/build.sh`** — intentional source, which is why `pkgs/roc/.gitignore` carries the `!build` negation. Keep both.\n- `pkgs/id/examples/roc-counter/counter-native` looks similar but is load-bearing: `pkgs/id/src/world_store.rs:1009` embeds it via `include_bytes!` and `pkgs/id/tests/cli_integration.rs:2423` uses it. Not part of this issue.\n\n## Why it matters\n\nSame failure class as #353/#355 (tracked build output the ignore rules already disown): 9 MB of dead, non-portable binary in every clone, and a standing trap — the next `roc build build.roc` output will show up as a modification to a tracked file and can be re-committed silently.\n\n## Acceptance criteria\n\n- `git ls-files pkgs/roc/platforms/rust-minimal-cli/` no longer lists `build`; the file is removed from git (the existing local `.gitignore` rule then keeps future build outputs out).\n- `pkgs/roc/build` symlink and `pkgs/roc/.gitignore`'s `!build` negation are untouched.\n- No other file changes; nothing that built before is broken (nothing references the binary).","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-19T15:41:55Z","url":"https://github.com/developing-today/code/issues/358"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0df3089f-4eaa-c2e0-b847-f28d05ed4fef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93C8:128099:6FE1E8:955DA7:6B062CFD |
| html-safe-nonce | 93f482ff408ad84480c22914722a0ea0be13b5ad3c6aee1c818ae26980d68511 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0M4OjEyODA5OTo2RkUxRTg6OTU1REE3OjZCMDYyQ0ZEIiwidmlzaXRvcl9pZCI6IjcyODc2NTE0OTU0ODE1ODQ4OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3bbdbf530f478fdea5c0f139486f7489fc5d31e1f562ec7ce4912c65593c1a8e |
| hovercard-subject-tag | issue:5926950430 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/358/issue_layout |
| twitter:image | https://opengraph.githubassets.com/341ef856343ce8f431124175158bc43effe25e06b9551ff4716e7a3cd57f5509/developing-today/code/issues/358 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/341ef856343ce8f431124175158bc43effe25e06b9551ff4716e7a3cd57f5509/developing-today/code/issues/358 |
| og:image:alt | Evidence (verified 2026-10-19 on main 238adf46) pkgs/roc/platforms/rust-minimal-cli/build is tracked and is a 9,025,448-byte ELF 64-bit LSB pie executable (file output), dynamically linked against ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width