MitMaro / git-interactive-rebase-tool

Native cross-platform full feature terminal-based sequence editor for git interactive rebase.
https://gitrebasetool.mitmaro.ca/
GNU General Public License v3.0
1.59k stars 48 forks source link

Wrap set_var, remove_var in unsafe blocks #920

Closed MitMaro closed 4 months ago

MitMaro commented 4 months ago

Rust 2024 is making these particular function unsafe, and this change prepares the project by making a best effort to change environment variables in a safe way.

Since these values are only modified in tests, and generally only certain variables, this change should be generally safe. It also has zero direct impact on the production build.

coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9451854339

Details


Totals Coverage Status
Change from base Build 9438849699: 0.0%
Covered Lines: 4575
Relevant Lines: 4701

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9451961492

Details


Totals Coverage Status
Change from base Build 9438849699: 0.0%
Covered Lines: 4575
Relevant Lines: 4701

💛 - Coveralls
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9451983972

Details


Totals Coverage Status
Change from base Build 9438849699: 0.0%
Covered Lines: 4575
Relevant Lines: 4701

💛 - Coveralls