Title: bug: fails to build on termux · Issue #229 · clearloop/leetcode-cli · GitHub
Open Graph Title: bug: fails to build on termux · Issue #229 · clearloop/leetcode-cli
X Title: bug: fails to build on termux · Issue #229 · clearloop/leetcode-cli
Description: https://github.com/clearloop/leetcode-cli/blob/main/src/plugins/chrome.rs#L150 The chrome plugin conditionally compiles functions based on target os When building on termux it's not considered a Linux host ~ $ rustc -vV | grep host host:...
Open Graph Description: https://github.com/clearloop/leetcode-cli/blob/main/src/plugins/chrome.rs#L150 The chrome plugin conditionally compiles functions based on target os When building on termux it's not considered a Li...
X Description: https://github.com/clearloop/leetcode-cli/blob/main/src/plugins/chrome.rs#L150 The chrome plugin conditionally compiles functions based on target os When building on termux it's not considered ...
Opengraph URL: https://github.com/clearloop/leetcode-cli/issues/229
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: fails to build on termux","articleBody":"https://github.com/clearloop/leetcode-cli/blob/main/src/plugins/chrome.rs#L150\n\nThe chrome plugin conditionally compiles functions based on target os\n\nWhen building on termux it's not considered a Linux host \n\n```\n~ $ rustc -vV | grep host\nhost: aarch64-linux-android\n```\n\nSo these functions are missing\n\n```\n Compiling leetcode-cli v0.5.3\nerror[E0425]: cannot find function `cookie_db_path` in this scope\n --\u003e /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/leetcode-cli-0.5.3/src/plugins/chrome.rs:64:14\n |\n64 | ... = cookie_db_path().ok_or(Error::ChromeNotLog...\n | ^^^^^^^^^^^^^^ not found in this scope\n\nerror[E0425]: cannot find function `encryption_key` in this scope\n --\u003e /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/leetcode-cli-0.5.3/src/plugins/chrome.rs:79:15\n |\n79 | let key = encryption_key()?;\n | ^^^^^^^^^^^^^^ not found in this scope\n\nFor more information about this error, try `rustc --explain E0425`.\nerror: could not compile `leetcode-cli` (lib) due to 2 previous errors\nwarning: build failed, waiting for other jobs to finish...\nerror: failed to compile `leetcode-cli v0.5.3`, intermediate artifacts can be found at `/data/data/com.termux/files/usr/tmp/cargo-installPhiuoL`.\nTo reuse those artifacts with a future compilation, set the environment variable `CARGO_BUILD_BUILD_DIR` to that path.\n```\n\nI think it's fine for these to just be defined as stubs on non supported host. The chrome plugin won't work in termux anyway!","author":{"url":"https://github.com/martindmtrv","@type":"Person","name":"martindmtrv"},"datePublished":"2026-06-27T07:15:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/229/leetcode-cli/issues/229"}
| 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:671694cb-f274-a024-fc83-31baae0d8999 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E12:1243A2:3A37D2:52C89E:6A637A73 |
| html-safe-nonce | 0abcdb334f33689ef7388733c167495210d477f77a145d55d8bc10e536456270 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTEyOjEyNDNBMjozQTM3RDI6NTJDODlFOjZBNjM3QTczIiwidmlzaXRvcl9pZCI6IjM4NDUzMTAzMDUyMzAwOTI5MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 532eddf85bd5eb9884d14f4123f5cbf7f4e5ac40e37b2975e32868e3cde06f25 |
| hovercard-subject-tag | issue:4757263780 |
| 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/clearloop/leetcode-cli/229/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c6994e47a3e52733f117fb1d71ba585a36619fa8f3c8dc015e32d608adb1f30e/clearloop/leetcode-cli/issues/229 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c6994e47a3e52733f117fb1d71ba585a36619fa8f3c8dc015e32d608adb1f30e/clearloop/leetcode-cli/issues/229 |
| og:image:alt | https://github.com/clearloop/leetcode-cli/blob/main/src/plugins/chrome.rs#L150 The chrome plugin conditionally compiles functions based on target os When building on termux it's not considered a Li... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | martindmtrv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4c1de337de00c7969335f8866af41463301071379a3a15fba12e9b85aa6378d6 |
| turbo-cache-control | no-preview |
| go-import | github.com/clearloop/leetcode-cli git https://github.com/clearloop/leetcode-cli.git |
| octolytics-dimension-user_id | 26088946 |
| octolytics-dimension-user_login | clearloop |
| octolytics-dimension-repository_id | 228366054 |
| octolytics-dimension-repository_nwo | clearloop/leetcode-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 228366054 |
| octolytics-dimension-repository_network_root_nwo | clearloop/leetcode-cli |
| 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 | a4df32552e4c631011bdcd4c81cc3d7408664a8b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width