Skip to content

Mangle the name of rustix::runtime to discourage users. - #1633

Merged
sunfishcode merged 1 commit into
mainfrom
dgohman-fastly/rename-runtime
Sep 16, 2026
Merged

sunfishcode merged 1 commit into
mainfrom
dgohman-fastly/rename-runtime

Conversation

@sunfishcode

Copy link
Copy Markdown
Member

There have been a few bug reports from users appearing to use rustix::runtime as if it were a normal library feature. It is not. Since the comments in the file don't seem to be sufficient for discouraging users, add a random string to the module name.

This would be a semver break, except that rustix::runtime has always been doc(hidden) and commented as experimental.

@sunfishcode
sunfishcode force-pushed the dgohman-fastly/rename-runtime branch 2 times, most recently from 7c431ed to 19f88e6 Compare August 18, 2026 01:08
@sunfishcode
sunfishcode force-pushed the dgohman-fastly/rename-runtime branch from 19f88e6 to d2d7a7a Compare September 16, 2026 21:09
There have been a few bug reports from users appearing to use
`rustix::runtime` as if it were a normal library feature. It is
not. Since the comments in the file don't seem to be sufficient
for discouraging users, add a random string to the module name.

This would be a semver break, except that `rustix::runtime` has
always been `doc(hidden)` and commented as experimental.
@sunfishcode
sunfishcode force-pushed the dgohman-fastly/rename-runtime branch from d2d7a7a to a09a02d Compare September 16, 2026 21:30
@sunfishcode
sunfishcode merged commit 4cecb72 into main Sep 16, 2026
51 checks passed
@sunfishcode

Copy link
Copy Markdown
Member Author

This is now released in rustix 1.1.5.

@sunfishcode
sunfishcode deleted the dgohman-fastly/rename-runtime branch September 16, 2026 23:08
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.

1 participant