-
Notifications
You must be signed in to change notification settings - Fork 174
Fix for extraction of extensions starting with 's'/ 'x'/ 'z' #277
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
Fix for extraction of extensions starting with 's'/ 'x'/ 'z' #277
Conversation
Hi @AthiraRamakrishna ! Thank you for contributing to Also, please fix the tests and change the |
Hi @romancardenas , I faced this issue when I tried to add features to the riscv-target in the config.toml file through ] also when I run the command rustc --target=riscv32imafc-unknown-none-elf -Ctarget-feature=help
|
Then please, update your PR so it passes the CI and I will try to push a new version to |
Also, you need to change this: riscv/riscv-target-parser/src/extension.rs Line 166 in d4ea7f4
|
Hi @romancardenas , In addition do I update the version in Cargo.toml to v0.1.1? and how about the dependency on the riscv-target-parser in Cargo.toml file of riscv-rt |
Yes, please! Update both dependencies. If I'm not wrong, yanking v0.1.0 and publishing v0.1.1 should lead to the current published |
Update CHANGELOG.md Update version in Cargo.toml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you very much
JFYI, I haven't updated the riscv-rt dependency yet. |
Oops! Please open a new PR. |
Sorry! I got confused by your comment "If I'm not wrong, yanking v0.1.0 and publishing v0.1.1 should lead to the current published riscv-rt using the new version after cargo update." |
…ncies to have changes related to rust-embedded#277
I dont think I have to update the version in Cargo.toml file of riscv-rt right? because it would anyway take the latest version of riscv-target-parser Also if I have to change this to riscv-target-parser = { path = "../riscv-target-parser", version = "0.1.1" } Please clarify thanks |
No, this is not necessary. We will have to update dependencies only when a new version of |
Here it is: https://crates.io/crates/riscv-target-parser |
Thank you :) |
When the target has extensions starting from z,s,x the extension extraction fails