Skip to content

Remove unused environment variables and related functions#31

Merged
Marsman1996 merged 2 commits into
mainfrom
remove-env
Jul 6, 2026
Merged

Remove unused environment variables and related functions#31
Marsman1996 merged 2 commits into
mainfrom
remove-env

Conversation

@rikosellic

Copy link
Copy Markdown
Collaborator

It seems we only need CARGO_VERUS, VERUSFMT, and VERUSDOC now.

@rikosellic rikosellic requested a review from Marsman1996 July 6, 2026 03:31
@rikosellic

Copy link
Copy Markdown
Collaborator Author

Fix #30.

@Marsman1996

Copy link
Copy Markdown
Collaborator

Well, actually I think we still need get_rustdoc.

Curretly in cargo dv doc, we just

let mut cmd = Command::new("rustdoc");

And it should be

let rustdoc = verus::get_rustdoc();

So it could report missing error when rustdoc is not found.

@rikosellic

Copy link
Copy Markdown
Collaborator Author

Fixed. Also add a bin_name function to deal with Windows .exe uniformly.

@Marsman1996 Marsman1996 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM
And make doc works in Linux and macOS

@Marsman1996 Marsman1996 merged commit d3ed584 into main Jul 6, 2026
1 check 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.

2 participants