Skip to content

Conversation

@Firestar99
Copy link
Collaborator

@Firestar99 Firestar99 commented Jun 18, 2025

Requires #2724

This PR contains the bulk renames, for code changes see #2724

@Firestar99 Firestar99 force-pushed the gcore_bulk_cleanup branch from 2cce1db to c45bb3d Compare June 18, 2025 14:25
@Firestar99 Firestar99 marked this pull request as ready for review June 18, 2025 16:29
@Firestar99 Firestar99 changed the base branch from master to gcore_feature_removal June 18, 2025 16:31
@Firestar99 Firestar99 force-pushed the gcore_feature_removal branch from 1164fd1 to 1a3d5d8 Compare June 19, 2025 22:05
Base automatically changed from gcore_feature_removal to master June 19, 2025 22:12
pub(crate) footprint: Option<&'a crate::transform::Footprint>,
pub(crate) footprint: Option<&'a Footprint>,
varargs: Option<&'a [DynRef<'a>]>,
// This could be converted into a single enum to save extra bytes
Copy link
Member

Choose a reason for hiding this comment

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

Only the owned context should be moved out of the context file, the rest should if possible remain no std

Copy link
Collaborator Author

@Firestar99 Firestar99 Jun 21, 2025

Choose a reason for hiding this comment

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

Your comment confuses me. This PR doesn't move anything, it just changes the paths to symbols for things within the crate, to make all the absolute paths and use statements use std instead of core or alloc. I'll start extracting a no_std crate gcore_types out of the gcore crate in some later PR, yet to be submitted. And can change all the symbols back to core, as required.

Copy link
Member

Choose a reason for hiding this comment

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

This is basically a future note to you that you will need to split this file into two versions, one which uses std (and containts the OwnedContextImpl) and a second one which contains the rest so you'll have to change the paths you've converted to std in this file for this pr back to core

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I thought it was a change request and was confused at what you wanted to have changed. All good if it was just a note :D

@Keavon Keavon enabled auto-merge (squash) June 21, 2025 23:01
@Keavon Keavon merged commit 990d5b3 into master Jun 21, 2025
4 checks passed
@Keavon Keavon deleted the gcore_bulk_cleanup branch June 21, 2025 23:08
urisinger pushed a commit to urisinger/Graphite that referenced this pull request Jul 15, 2025
…Editor#2735)

* gcore: replace `core` and `alloc` paths with `std`

* node-graph: remove unnecessary path prefix

* gcore: remove most `#[cfg(target_arch = "spirv")]`, keep some potentially useful ones

---------

Co-authored-by: Keavon Chambers <[email protected]>
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.

4 participants