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

Msvc modular stdlib #108

Merged
merged 15 commits into from
May 25, 2024
Merged

Msvc modular stdlib #108

merged 15 commits into from
May 25, 2024

Conversation

TheRustifyer
Copy link
Member

This PR brings finally the official way of using import std and import std.compat by compiling the std modularized libraries on the host project, according to the C++ standard documented in this paper

Most notorious changes (summary):

  • import std and import std.compat enabled for all MSVC versions > 19.7
  • vsvars are now cached, and parsed beforehand, so we can wire them into shell
  • We can finally get rid out of the invokation of the MS devs command prompt shell for every command, passing the env vars to the underlying shell
  • An important rework has been made to the way on how Zork++ can be invoked. Now only can use it from the project's root if no --root flag is set. With the flag remains unchanged
  • Integration tests are now split by compiler and basic/partitions template, looking towards having different actions per every one on the future, so we can put a badge on our README.md allowing the visitors to know what compilers are completely up to date
  • Preparing the deprecation of the system-headers build, waiting for GCC to finally support the build of the modularized standard libraries
  • Minor upgrades to the cache direct hits performance

…e now injected directly in the underlying calling shell

This will allows us finally to remove the legacy code that needed to
launch the vsvars.bat script to set the env vars for every command, and
pass them to the underlying shell, directly invoking cl from there
chore: cleaning the examples for local tests
@TheRustifyer TheRustifyer added improvement testing/unit-testing feature Something new in the application or library labels May 25, 2024
@TheRustifyer TheRustifyer requested a review from gbm25 May 25, 2024 09:16
@TheRustifyer TheRustifyer self-assigned this May 25, 2024
Copy link
Member

@gbm25 gbm25 left a comment

Choose a reason for hiding this comment

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

In size.

@TheRustifyer TheRustifyer merged commit a097c75 into main May 25, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Something new in the application or library improvement testing/unit-testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants