Skip to content

fix: don't throw error when lib.name is null - #104

Merged
GregoryConrad merged 1 commit into
GregoryConrad:mainfrom
adil192:fix/ignore-missing-lib.name
Aug 20, 2026
Merged

fix: don't throw error when lib.name is null#104
GregoryConrad merged 1 commit into
GregoryConrad:mainfrom
adil192:fix/ignore-missing-lib.name

Conversation

@adil192

@adil192 adil192 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Fixes #103

I can't reproduce the error in the unit tests, but it does fix it in my real app:

Building Linux application...
✓ Built build/linux/x64/release/bundle/saber
ahann@dellpro:~/Documents/GitHub/saber$ flutter build linux # without this patch
ERROR: [SEVERE] RustBuilder: Failed to find lib.name in /home/ahann/.pub-cache/hosted/pub.dev/super_native_extensions-0.10.0-dev.2/rust/Cargo.toml: [workspace]
ERROR: [SEVERE] RustBuilder: Failed to find lib.name in /home/ahann/.pub-cache/hosted/pub.dev/super_native_extensions-0.10.0-dev.2/rust/Cargo.toml: [workspace]
Building Linux application...                                           
✓ Built build/linux/x64/release/bundle/saber
ahann@dellpro:~/Documents/GitHub/saber$ flutter build linux # with this patch
Building Linux application...                                           
✓ Built build/linux/x64/release/bundle/saber
ahann@dellpro:~/Documents/GitHub/saber$ 

@GregoryConrad
GregoryConrad enabled auto-merge (squash) August 20, 2026 17:30
@GregoryConrad
GregoryConrad merged commit 201a441 into GregoryConrad:main Aug 20, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SEVERE] RustBuilder: Failed to find lib.name

2 participants