ArkHost/HelixNotes
14
150
Fork
You've already forked HelixNotes
13

Bulding Warning: warning: function set_mobile_config_dir`is never used #183

Open
opened 2026年06月28日 16:53:41 +02:00 by clintre · 2 comments
Contributor
Copy link

Nothing serious, just a warning. It has been there from the start and not overly concerned being a warning, but just wanted to let you know. When building for Linux...

warning: function `set_mobile_config_dir` is never used
 --> src/commands.rs:2427:8
 |
2427 | pub fn set_mobile_config_dir(path: std::path::PathBuf) {
 | ^^^^^^^^^^^^^^^^^^^^^
 |
 = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
 Building [=======================> ] 811/813: helixnotes 
Nothing serious, just a warning. It has been there from the start and not overly concerned being a warning, but just wanted to let you know. When building for Linux... ``` warning: function `set_mobile_config_dir` is never used --> src/commands.rs:2427:8 | 2427 | pub fn set_mobile_config_dir(path: std::path::PathBuf) { | ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default Building [=======================> ] 811/813: helixnotes ```

Thanks for the heads-up. It's harmless: set_mobile_config_dir is an Android-only entry point, so on desktop builds it's just dead code and Rust flags it. Nothing broken, the build and runtime are fine.

I'll gate it behind the #[cfg(target_os = "android")] in a coming release so the warning clears. No rush since it's cosmetic. Thanks for keeping HelixNotes in Solus!

Thanks for the heads-up. It's harmless: set_mobile_config_dir is an Android-only entry point, so on desktop builds it's just dead code and Rust flags it. Nothing broken, the build and runtime are fine. I'll gate it behind the #[cfg(target_os = "android")] in a coming release so the warning clears. No rush since it's cosmetic. Thanks for keeping HelixNotes in Solus!
Author
Contributor
Copy link

I figured it was not more of a heads-up than anything. It has no effect on me.

I figured it was not more of a heads-up than anything. It has no effect on me.
Sign in to join this conversation.
No Branch/Tag specified
main
fix/vault-indication
v1.3.3
v1.3.2
v1.3.1
v1.3.0
v1.2.9
v1.2.8
v1.2.7
v1.2.6
v1.2.5
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.9
v1.1.8
v1.1.7
v1.1.6
v1.1.5
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.9
v1.0.8
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ArkHost/HelixNotes#183
Reference in a new issue
ArkHost/HelixNotes
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?