Specify a minimum supported version for VxWorks by devnexen · Pull Request #128758 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation20 Commits1 Checks6 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

devnexen

Document that VxWorks 7 is the minimum supported version.

@rustbot

r? @GuillaumeGomez

rustbot has assigned @GuillaumeGomez.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@devnexen devnexen marked this pull request as ready for review

August 6, 2024 20:57

@rustbot

Some changes occurred in src/doc/rustc/src/platform-support

cc @Noratrieb

@devnexen

@tgross35

This PR seeks to specify a minimum supported version of VxWorks to 7 to make it more obvious which APIs should be considered usable. Does this seem reasonable, or should a different version be specified?

Asking some people who have contributed to vxworks here or in libc, please comment or thumbs up if the proposed version seems good: @biabbas @jdygert-spok @NicholasBaron @BaoshanPang

Some more context is at #128758

(also, it would be good to have one or two more listed maintainers for VxWorks, which just means you can get pinged when platform-specific questions come up. If anyone here is interested, just submit a PR updating src/doc/rustc/src/platform-support/vxworks.md.)

tgross35

@@ -20,6 +20,12 @@ Target triplets available:
## Requirements
### OS version
The minimum supported version is VxWorks 7 on x86/64 and ARM64.

Choose a reason for hiding this comment

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

Why are the architectures specified - is something different for ppc and arm32?

Choose a reason for hiding this comment

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

Minimum supported version of OS would be the same for all VxWorks supported architectures. Although PowerPC targets are not an active consideration during Rust for VxWorks development.

Note:
#128545

Choose a reason for hiding this comment

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

Thanks for confirming. @devnexen could you drop the "on x86/64 and ARM64" unless there is a specific reason?

Choose a reason for hiding this comment

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

@biabbas does this minimum version seem reasonable to you?

Also, could someone confirm when this version (VxWorks 7) was released? I am having some trouble figuring this out online what the oldest supported version will be.

Choose a reason for hiding this comment

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

I think VxWorks 7 was released in 2016. Rust was enable for VxWorks in 2019(#61946 ). I've only worked on VxWorks 7.

Choose a reason for hiding this comment

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

I think Versions older than VxWorks7 would require porting efforts, minimum supported version should be VxWorks7.

But since we would have to go through the changes from VxWorks 6 to VxWorks 7 to confirm the minimum supported version. This seems less reasonable now.

Choose a reason for hiding this comment

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

I think your PR should be merged first.

Choose a reason for hiding this comment

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

@devnexen
Do you have access to VxWorks 6 workbench?

Choose a reason for hiding this comment

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

nope.

Choose a reason for hiding this comment

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

Thanks for confirming. @devnexen could you drop the "on x86/64 and ARM64" unless there is a specific reason?

After these changes, this pr would be good for now.

@tgross35

Just to clarify this should get some feedback before merge:

@rustbot blocked

@rustbot rustbot added S-blocked

Status: Blocked on something else such as an RFC or other implementation work.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Aug 6, 2024

@tgross35 tgross35 changed the titleVxWorks platform support update proposal VxWorks minimum supported version proposal

Aug 7, 2024

@tgross35 tgross35 changed the titleVxWorks minimum supported version proposal Specify a minimum supported version for VxWorks

Aug 7, 2024

@biabbas

This PR seeks to specify a minimum supported version of VxWorks to 7 to make it more obvious which APIs should be considered usable. Does this seem reasonable, or should a different version be specified?

Asking some people who have contributed to vxworks here or in libc, please comment or thumbs up if the proposed version seems good: @biabbas @jdygert-spok @NicholasBaron @BaoshanPang

Some more context is at #128758

(also, it would be good to have one or two more listed maintainers for VxWorks, which just means you can get pinged when platform-specific questions come up. If anyone here is interested, just submit a PR updating src/doc/rustc/src/platform-support/vxworks.md.)

I'm not sure if anyone else is also working on VxWorks rust, thus no one else is listed as a maintainer.

biabbas

tgross35

@devnexen

@tgross35

If the specified version is from 2016, I think it is pretty unobjectionable. That is pretty similar to our oldest MacOS (10.12, 2016) and Windows (10, 2015). If there are any problems we can revisit, but this should make the ongoing std support effort more straightforward.

Thanks for getting this documented.

@bors r+ rollup

@bors

📌 Commit c8eacd6 has been approved by tgross35

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-blocked

Status: Blocked on something else such as an RFC or other implementation work.

labels

Aug 7, 2024

tgross35 added a commit to tgross35/rust that referenced this pull request

Aug 7, 2024

@tgross35

…ross35

Specify a minimum supported version for VxWorks

Document that VxWorks 7 is the minimum supported version.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Aug 7, 2024

@bors

Rollup of 7 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request

Aug 7, 2024

@bors

…llaumeGomez

Rollup of 9 pull requests

Successful merges:

Failed merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Aug 7, 2024

@rust-timer

Rollup merge of rust-lang#128758 - devnexen:vxworks_release_min, r=tgross35

Specify a minimum supported version for VxWorks

Document that VxWorks 7 is the minimum supported version.

Labels

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.