Skip to content
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

Add rust edition feature #12

Merged
merged 13 commits into from
Dec 4, 2024

Conversation

MahadMuhammad
Copy link
Contributor

src/known-directives.rs Outdated Show resolved Hide resolved
src/known-directives.rs Outdated Show resolved Hide resolved
@MahadMuhammad MahadMuhammad force-pushed the feat/add-additional-options branch 2 times, most recently from 2a82d33 to 15d5640 Compare August 21, 2024 18:34
Copy link
Member

@P-E-P P-E-P left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of great things in there, most of my comments are nitpicks because you did really great 😆

src/cli.rs Outdated Show resolved Hide resolved
src/errors.rs Outdated Show resolved Hide resolved
src/errors.rs Outdated Show resolved Hide resolved
src/errors.rs Outdated Show resolved Hide resolved
src/errors.rs Show resolved Hide resolved
src/header.rs Outdated Show resolved Hide resolved
src/header.rs Outdated Show resolved Hide resolved
src/known-directives.rs Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/transform.rs Outdated Show resolved Hide resolved
Signed-off-by: Muhammad Mahad <[email protected]>
Signed-off-by: Muhammad Mahad <[email protected]>
Signed-off-by: Muhammad Mahad <[email protected]>
Signed-off-by: Muhammad Mahad <[email protected]>
If the test source file doesn't contain any headers, or
that are not added till now then the header value
will be None and becomes panic

Signed-off-by: Muhammad Mahad <[email protected]>
@MahadMuhammad MahadMuhammad force-pushed the feat/add-additional-options branch from 8a33157 to 2e54760 Compare November 11, 2024 14:59
- in `cli`
	-  converted doc comments to regular comments
- in `errors`
	-  added brief macro/fmt for `Error` documentation
	-  Add proper indentation and markdown annotation
- in `header`
	-  Called `unwrap` safely
	-  remove unwanted panic, initially this was the
	   replication of rust compile test tool, but
	   this, wasn't unwanted here. See compile test
	   internals https://github.com/rust-lang/rust/blob/d4822c2d84c242cc7403118b50c571464f38ef8f/src/tools/compiletest/src/header.rs#L727
- in `known-directives`:
	-  Add directives link in documentation
- in `main`:
	- remove `unwanted` entry point comment
- in `transform`:
	- Add `TryFrom` for line number casting

Signed-off-by: Muhammad Mahad <[email protected]>
@MahadMuhammad
Copy link
Contributor Author

MahadMuhammad commented Nov 11, 2024

Thanks for review @P-E-P @CohenArthur, I'll update further PR's once this one will be merged :)

@CohenArthur CohenArthur merged commit d0bbd78 into Rust-GCC:main Dec 4, 2024
3 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.

Add parsing additional options
3 participants