这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@hawkw
Copy link
Owner

@hawkw hawkw commented Jan 21, 2024

No description provided.

@hawkw hawkw force-pushed the eliza/nightly-2024-01-20 branch from fabcb2b to 1c64128 Compare January 21, 2024 19:12
@hawkw hawkw marked this pull request as ready for review January 21, 2024 19:49
hawkw added a commit that referenced this pull request Jan 21, 2024
@hawkw hawkw enabled auto-merge (rebase) January 21, 2024 19:49
hawkw added 3 commits January 21, 2024 11:49
Apparently taking a reference to a `static mut` is going to be
disallowed by a future compiler, and we should use `addr_of!` instead.
This is because `static mut`s are only sound to access through a raw
pointer.
@hawkw hawkw force-pushed the eliza/nightly-2024-01-20 branch from 9dc87d0 to f578d5f Compare January 21, 2024 19:50
@hawkw hawkw disabled auto-merge January 21, 2024 20:19
@hawkw hawkw enabled auto-merge (rebase) January 21, 2024 20:19
@hawkw hawkw merged commit b904673 into main Jan 21, 2024
@hawkw hawkw deleted the eliza/nightly-2024-01-20 branch January 21, 2024 20:31
hawkw added a commit that referenced this pull request Jan 21, 2024
hawkw added a commit that referenced this pull request Jan 21, 2024
This commit fixes a missing lifetime in a `const` declaration generated
by the `enum_from_bits!` macro. Adding this missing lifetime fixes a
warning on recent nightly toolchains.
hawkw added a commit that referenced this pull request Jan 21, 2024
hawkw added a commit that referenced this pull request Jan 21, 2024
hawkw added a commit that referenced this pull request Jan 21, 2024
hawkw added a commit that referenced this pull request Jan 21, 2024
hawkw added a commit that referenced this pull request Jan 21, 2024
This fixes a new Clippy lint in nightly-2024-01-20
hawkw added a commit that referenced this pull request Jan 21, 2024
hawkw added a commit that referenced this pull request Jan 21, 2024
Apparently taking a reference to a `static mut` is going to be
disallowed by a future compiler, and we should use `addr_of!` instead.
This is because `static mut`s are only sound to access through a raw
pointer.
hawkw added a commit that referenced this pull request Jan 21, 2024
hawkw added a commit that referenced this pull request Jan 21, 2024
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.

2 participants