Skip to content

Rename switch defaults src to state it's for linux #6046

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

arjungm
Copy link
Contributor

@arjungm arjungm commented Jun 9, 2025

This avoids the situation where devs will change the defaults here, and assume
other platforms will get the same behavior (e.g. Android). This is a workaround
because getting switch defaults to be synced via a single source of truth is not
currently feasible.

Bug: 397982418

arjungm added 2 commits June 9, 2025 12:22
This avoids the situation where devs will change the defaults here, and assume
other platforms will get the same behavior (e.g. Android). This is a workaround
because getting switch defaults to be synced via a single source of truth is not
currently feasible.

b/397982418
Copy link
Contributor

@yell0wd0g yell0wd0g left a comment

Choose a reason for hiding this comment

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

Changes makes sense but I wonder if we should name this
new file _linux.cc or _posix.cc? @andrewsavage1 for
opinions.

@andrewsavage1
Copy link
Contributor

Changes makes sense but I wonder if we should name this new file _linux.cc or _posix.cc? @andrewsavage1 for opinions.

It seems like it should be _starboard.cc

It also seems like this should not be in a target common to android and linux builds right now, and instead just be built for the linux build.

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