-
Notifications
You must be signed in to change notification settings - Fork 157
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
ICE when input file name is a directory ending with slash #3129
Labels
Comments
dylngg
added a commit
to dylngg/gccrs
that referenced
this issue
Aug 29, 2024
Fixes Rust-GCC#3129. gcc/rust/ChangeLog: * rust-session-manager.cc (Session::handle_crate_name): Remove crate name inference (Session::compile_crate): Add crate name inference and error if inferred name is empty. Remove CompileOptions::get_instance () that returned a local copy of the options. Rename crate_name_changed to crate_name_found to match semantics. (rust_crate_name_validation_test): Test inferring ".rs" name * rust-session-manager.h: Modify handle_crate_name definition to include filename.
dylngg
added a commit
to dylngg/gccrs
that referenced
this issue
Aug 29, 2024
Fixes Rust-GCC#3129. gcc/rust/ChangeLog: * rust-session-manager.cc (Session::handle_crate_name): Remove crate name inference (Session::compile_crate): Add crate name inference and error if inferred name is empty. Remove CompileOptions::get_instance () that returned a local copy of the options. Rename crate_name_changed to crate_name_found to match semantics. (rust_crate_name_validation_test): Test inferring ".rs" name * rust-session-manager.h: Modify handle_crate_name definition to include filename.
dylngg
added a commit
to dylngg/gccrs
that referenced
this issue
Aug 29, 2024
Fixes Rust-GCC#3129. gcc/rust/ChangeLog: * rust-session-manager.cc (Session::handle_crate_name): Remove crate name inference (Session::compile_crate): Add crate name inference and error if inferred name is empty. Remove CompileOptions::get_instance () that returned a local copy of the options. Rename crate_name_changed to crate_name_found to match semantics. (rust_crate_name_validation_test): Test inferring ".rs" name * rust-session-manager.h: Modify handle_crate_name definition to include filename.
Hello, Is anyone currently working on this issue? I want to work on this issue. |
Hi @yomanthunder You can take a look at another issue labeled as good-first-pr. (It seems that no one is working on #2872) |
Thanks for the update, @tamaroning! I’ll look into issue #2872. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
expected output:
Backtrace
I am using Ubuntu 22.0.4 on WSL2
The text was updated successfully, but these errors were encountered: