Skip to content

Fix and refine build-native.sh#1097

Merged
richox merged 2 commits intoapache:masterfrom
turboFei:build_native_2
Aug 5, 2025
Merged

Fix and refine build-native.sh#1097
richox merged 2 commits intoapache:masterfrom
turboFei:build_native_2

Conversation

@turboFei
Copy link
Member

@turboFei turboFei commented Aug 4, 2025

Which issue does this PR close?

Closes #.

Rationale for this change

Met issue with command ./build-native.sh release jemalloc-pprof.

[ERROR] [main] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `poem`
[ERROR] [main]   --> native-engine/blaze/src/http/mod.rs:23:5
[ERROR] [main]    |
[ERROR] [main] 23 | use poem::{Route, RouteMethod, Server, listener::TcpListener};
[ERROR] [main]    |     ^^^^ use of unresolved module or unlinked crate `poem`
[ERROR] [main]    |
[ERROR] [main]    = help: if you wanted to use a crate named `poem`, use `cargo add poem` to add it to your `Cargo.toml`
[ERROR] [main] 
[ERROR] [main] error[E0432]: unresolved import `poem`
[ERROR] [main]   --> native-engine/blaze/src/http/mod.rs:23:5
[ERROR] [main]    |
[ERROR] [main] 23 | use poem::{Route, RouteMethod, Server, listener::TcpListener};
[ERROR] [main]    |     ^^^^ use of unresolved module or unlinked crate `poem`
[ERROR] [main]    |
[ERROR] [main]    = help: if you wanted to use a crate named `poem`, use `cargo add poem` to add it to your `Cargo.toml`

What changes are included in this PR?

Fix build native code.

Are there any user-facing changes?

No.

@turboFei turboFei requested a review from wForget August 5, 2025 06:43
@richox richox merged commit 854b3b4 into apache:master Aug 5, 2025
619 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.

3 participants