-
Notifications
You must be signed in to change notification settings - Fork 48
rust-hl-modules fails with file operations? #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reporting this. This is because of the way the rust I/O works.
|
Can't fix properly before rust-lang/rust#1793 is fixed Using libc should work however. |
Partially fixed. All of the Rust std should be usable now. However:
|
I can confirm that now the test program works but the function savefile() appears blocked after the file creation. In another test I obtain this error at compile time:
due to what you say at the second point in the precedent list. |
Fixed thanks to rust-lang/rust#19654 |
Uh. Great. Great job! |
Hi,
This is the code of mylib.rs:
I think this is due to something to change in "rust-hl-lua-modules.rs" after the recent Rust breaking-change update but I'm not so expert to understand your code, too advanced for my knowledge... |
Hi,
I'm starting to experiment your fantastic library, especially to create lib for Lua.
One uses the rust-image lib: it's ok if the code don't access to the file system otherwise the process crashed (with the same error reported below).
Another experiment is an attempt with rust-tabular... but fails.
So I began to think that I/O is the problem and I write this example: saving a text file from Lua perfectly functional in "only Rust" code.
Then I compile it with Cargo with this config:
In a terminal session the behaviour of the library is this:
Can you help me?
Is a question of local library installed on my system?
Thank you very much.
My dev platform is an Ubuntu 14.04 with ultimate version of Rust (0.12.0-pre-nightly 25741603f), Cargo and github library.
The text was updated successfully, but these errors were encountered: