---
title: "cranelift-codegen 0.138.0 Breaking Changes on crates.io"
description: "What each cranelift-codegen release removed, renamed or changed: 9 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/cranelift-codegen
last_updated: 2026-12-04
---

# cranelift-codegen breaking changes

cranelift-codegen 0.138.0 (November 20, 2026) is its newest release with breaking changes, 9 of them. The first: Signature changed cranelift_codegen::ir::MachMemFlags::with_aligned. Every breaking API change we have recorded in cranelift-codegen on crates.io: 9 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.138.1`, released December 4, 2026. [Source repository](https://github.com/bytecodealliance/wasmtime)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## cranelift-codegen 0.138.0 breaking changes

cranelift-codegen 0.138.0, released November 20, 2026: 9 breaking changes.

- **Signature changed** `cranelift_codegen::ir::MachMemFlags::with_aligned`  

Was fn with_aligned(self) -> Self; now fn with_aligned(self, enabled: bool) -> Self. [crates.io](https://crates.io/crates/cranelift-codegen/0.138.0)
- **Signature changed** `cranelift_codegen::ir::MachMemFlags::with_can_move`  

Was fn with_can_move(self) -> Self; now fn with_can_move(self, enabled: bool) -> Self. [crates.io](https://crates.io/crates/cranelift-codegen/0.138.0)
- **Signature changed** `cranelift_codegen::ir::MachMemFlags::with_readonly`  

Was fn with_readonly(self) -> Self; now fn with_readonly(self, enabled: bool) -> Self. [crates.io](https://crates.io/crates/cranelift-codegen/0.138.0)
- **Signature changed** `cranelift_codegen::ir::MemFlagsData::set_aligned`  

Was fn set_aligned(&mut self); now fn set_aligned(&mut self, enabled: bool). [crates.io](https://crates.io/crates/cranelift-codegen/0.138.0)
- **Signature changed** `cranelift_codegen::ir::MemFlagsData::set_can_move`  

Was fn set_can_move(&mut self); now fn set_can_move(&mut self, enabled: bool). [crates.io](https://crates.io/crates/cranelift-codegen/0.138.0)
- **Signature changed** `cranelift_codegen::ir::MemFlagsData::set_readonly`  

Was fn set_readonly(&mut self); now fn set_readonly(&mut self, enabled: bool). [crates.io](https://crates.io/crates/cranelift-codegen/0.138.0)
- **Signature changed** `cranelift_codegen::ir::MemFlagsData::with_aligned`  

Was fn with_aligned(mut self) -> Self; now fn with_aligned(mut self, enabled: bool) -> Self. [crates.io](https://crates.io/crates/cranelift-codegen/0.138.0)
- **Signature changed** `cranelift_codegen::ir::MemFlagsData::with_can_move`  

Was fn with_can_move(mut self) -> Self; now fn with_can_move(mut self, enabled: bool) -> Self. [crates.io](https://crates.io/crates/cranelift-codegen/0.138.0)
- **Signature changed** `cranelift_codegen::ir::MemFlagsData::with_readonly`  

Was fn with_readonly(mut self) -> Self; now fn with_readonly(mut self, enabled: bool) -> Self. [crates.io](https://crates.io/crates/cranelift-codegen/0.138.0)

## Related packages

- [wasmtime](https://since.dev/packages/homebrew/wasmtime.md):  on Homebrew
- [wasmtime-wasi-http](https://since.dev/packages/crates/wasmtime-wasi-http.md)
- [wasmtime](https://since.dev/packages/crates/wasmtime.md)
- [wasmtime-environ](https://since.dev/packages/crates/wasmtime-environ.md)
- [wasmtime-wasi](https://since.dev/packages/crates/wasmtime-wasi.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
