Closed pionoor closed 1 week ago
do you use it on linux? do you need specifically glommio?
I have not tried to deploy it to linux env. I was deving on my Mac before pushing. I would expect it to at least compile. I don't really need glommio but was trying to test if there is any perf gain over tokio.
it is requirement for glommio runtime. if dependency does not compile on Mac it has nothing to do with ntex. if you want to try io-uring then it is better to use compio
Thank you for the prompt response, much appreciated.
Description
When switching from the
tokio
feature to theglommio
feature in ntex 2.6.0, the crate fails to compile due to unresolved imports and missing functions.Cargo.toml Configuration
Error Messages
self::glommio
spawn
in the crate root (multiple occurrences)block_on
in the crate rootFull Error Output
Environment
Steps to Reproduce
Expected Behavior
The project should compile successfully with the glommio feature enabled.
Actual Behavior
The compilation fails with the errors described above.
Additional Context
This issue occurs when switching from the tokio feature to the glommio feature. It appears that some imports and functions are not properly configured for the glommio runtime.