Skip to content

Conversation

powerboat9
Copy link
Collaborator

This vendors libcore under libgrust. In the future we can use this for building libcore as a runtime library, and in the near-future we can use it to test progressively later phases of the compiler on libcore as part of the testsuite.

contrib/ChangeLog:

	* gcc-changelog/git_commit.py (ignored_prefixes): Add
	'libgrust/libcore/'.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
@powerboat9
Copy link
Collaborator Author

Note that this PR leaves usage of libcore to future PRs

This commit vendors libcore 1.49 into libgrust/libcore. LICENSE-* files
are taken from the rustc 1.49 repository root.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Copy link
Member

@CohenArthur CohenArthur left a comment

Choose a reason for hiding this comment

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

LGTM I like the idea. I assume this is completely unmodified?

@powerboat9
Copy link
Collaborator Author

Yep. LICENSE-* files are copied from the rustc repo root

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.

Mmh a bit sad that the Cargo.toml in libcore does not document the library's version. I like @philberty 's idea to track the source of the library, not sure the hash is required but the version should be. And it should be somewhere close so we won't forget to update it. Otherwise LGTM.

@powerboat9 powerboat9 marked this pull request as draft August 13, 2025 15:33
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.

3 participants