Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
673e443
Bump lodash from 4.17.21 to 4.17.23 in /editors/code
dependabot[bot] Jan 21, 2026
802ee01
fix: offer `toggle_macro_delimiter` in nested macro
A4-Tacks Jan 27, 2026
2755c37
Remove unncecessary `#[serde(default)]`
J3m3 Jan 28, 2026
c851897
Align with internal deserialized data structure
J3m3 Jan 28, 2026
fe9b791
feat: offer block let fallback postfix complete
A4-Tacks Feb 6, 2026
2eec617
internal: remove redundant double call in postfix
A4-Tacks Feb 7, 2026
99c45c5
fix: complete `.let` on block tail prefix expression
A4-Tacks Feb 7, 2026
0c724e5
Refactor handling of associated type shorthand for type parameters, i…
ChayimFriedman2 Feb 12, 2026
5c13e0c
Squash commits for review
tascord Feb 13, 2026
3a8a3c7
Remove resolved FIXME
tascord Feb 14, 2026
b451b42
internal: to use SmolStr in fn_param
A4-Tacks Feb 14, 2026
71e4b03
fix: no complete suggest param in complex pattern
A4-Tacks Feb 14, 2026
25a71ea
Fix predicates of builtin derive traits with two parameters defaultin…
ChayimFriedman2 Feb 15, 2026
1c462c2
fix: complete derive helpers on empty nameref
A4-Tacks Feb 15, 2026
6ac0ee9
add span_source to ProcMacroClientInterface
Shourya742 Feb 16, 2026
2541de3
update utils to include span_source in the interface
Shourya742 Feb 16, 2026
9378836
add span_source implementation in proc-macro-srv-cli
Shourya742 Feb 16, 2026
a7d65c7
add span source implementation to proc-macro-srv
Shourya742 Feb 16, 2026
7f2956e
extend span source and span source result variant in message
Shourya742 Feb 16, 2026
a9d3e24
add span source client implementation
Shourya742 Feb 16, 2026
14e6fe0
Merge pull request #21631 from ChayimFriedman2/cleanup-lowering-cycles
ShoyuVanilla Feb 16, 2026
12cacac
fix: Ensure cpu_profiler feature compiles on Rust edition 2024
Wilfred Feb 17, 2026
c22e240
Merge pull request #21659 from Wilfred/fix_profiler_build
lnicola Feb 17, 2026
3fbdb4d
Merge pull request #21652 from ChayimFriedman2/fix-builtin-derive
ShoyuVanilla Feb 17, 2026
cf246bd
Add some basic flycheck integration tests
Wilfred Feb 17, 2026
90f05e9
Merge pull request #21655 from A4-Tacks/derive-helpers-on-empty
ChayimFriedman2 Feb 18, 2026
d9a252f
Merge pull request #21650 from A4-Tacks/not-suggest-param-in-pat
ChayimFriedman2 Feb 18, 2026
e48f0fc
Merge pull request #21600 from A4-Tacks/let-in-prefix
ChayimFriedman2 Feb 18, 2026
6de75dc
Merge pull request #21598 from A4-Tacks/minor-postfix-double-call
ChayimFriedman2 Feb 18, 2026
0a6961d
fix: prevent path transformation of parameter names matching modules
raushan728 Feb 18, 2026
c48dfe0
Merge pull request #21657 from Shourya742/2026-02-16-add-span-source-…
Veykril Feb 18, 2026
cc3115d
Enable debug printing on more types
Wilfred Feb 17, 2026
e1fa34e
Merge pull request #21661 from Wilfred/initial_flycheck_tests
Veykril Feb 18, 2026
b7d95aa
internal: Add flycheck test for custom check command and debounce
Wilfred Feb 17, 2026
c992256
Only offer block let fallback in match-arm
A4-Tacks Feb 6, 2026
36f9838
Merge pull request #21594 from A4-Tacks/fallback-let-comp-block
ChayimFriedman2 Feb 18, 2026
140672a
Bump rustup-toolchain-install-master
lnicola Feb 18, 2026
ffc185a
Merge pull request #21673 from lnicola/bump-rustup-toolchain-install-…
ShoyuVanilla Feb 18, 2026
053cde5
Switch to env var CARGO_RESOLVER_LOCKFILE_PATH for copied lockfiles f…
ShoyuVanilla Feb 12, 2026
5d19cb9
Append `-Zlockfile-path`
ShoyuVanilla Feb 18, 2026
de77ad6
Merge pull request #21630 from ShoyuVanilla/cargo-lockfile
ShoyuVanilla Feb 18, 2026
1278a87
feat: offer on is_some_and for replace_is_method_with_if_let_method
A4-Tacks Feb 11, 2026
574c7b8
Add handling for cycles in `sizedness_constraint_for_ty()`
ChayimFriedman2 Feb 18, 2026
dd0c3a0
Merge pull request #21664 from ChayimFriedman2/representability
ShoyuVanilla Feb 18, 2026
69b08d5
Merge pull request #21623 from A4-Tacks/replace-is-some-and
ShoyuVanilla Feb 18, 2026
c8cf171
Merge pull request #21666 from Wilfred/flycheck_custom_check
ShoyuVanilla Feb 18, 2026
2a3d765
fix: exclude macro refs in tests when excludeTests is enabled
akashchakrabortymsc-cmd Feb 18, 2026
918214c
style: fix rustfmt formatting
akashchakrabortymsc-cmd Feb 18, 2026
9a57e95
Update vs_code.md flatpak SDK extensions to 25.08 runtime
pjhanzlik Feb 18, 2026
08a7b9a
Remove fixme
A4-Tacks Feb 19, 2026
89832e9
Add partial selection for generate_getter_or_setter
A4-Tacks Aug 1, 2025
5bb10ae
Fix some TryEnum reference assists
A4-Tacks Jan 2, 2026
94f6e7e
fix: filter non-value definitions in path transform
raushan728 Feb 19, 2026
4b02062
Merge pull request #20353 from A4-Tacks/gen-getter-range
ShoyuVanilla Feb 19, 2026
52b92ce
Merge pull request #21540 from J3m3/align-optional-fields
ShoyuVanilla Feb 19, 2026
c9a76c4
style: fix clippy collapsible_if warning
raushan728 Feb 19, 2026
f40376c
Merge pull request #21665 from raushan728/fix-param-name-bug
A4-Tacks Feb 19, 2026
0d226d1
Merge pull request #21676 from pjhanzlik/patch-1
lnicola Feb 19, 2026
348edc5
Merge pull request #21536 from A4-Tacks/toggle-nested-macro-delim
ChayimFriedman2 Feb 19, 2026
9884941
Merge pull request #21505 from rust-lang/dependabot/npm_and_yarn/edit…
ShoyuVanilla Feb 19, 2026
6d80670
test: fix exclude_tests_macro_refs test to use custom macro
akashchakrabortymsc-cmd Feb 19, 2026
5a3f581
style: fix rustfmt formatting
akashchakrabortymsc-cmd Feb 19, 2026
99b50e3
ci: rerun checks
akashchakrabortymsc-cmd Feb 19, 2026
c3dc938
Merge pull request #21675 from akashchakrabortymsc-cmd/fix/exclude-te…
ChayimFriedman2 Feb 19, 2026
102f2ec
Perf + Test Case RE: ShoyuVanilla
tascord Feb 19, 2026
c415833
Merge pull request #21635 from tascord/import-cfg-fixes
ShoyuVanilla Feb 20, 2026
01627b7
Support getting TypeId's Trait and vtable
Feb 2, 2026
7857058
nix vtable_for intrinsic
Feb 18, 2026
b5eb4f6
Do strip references for desugar_try_expr
A4-Tacks Feb 20, 2026
c8d56aa
Merge pull request #21389 from A4-Tacks/assist-try-enum-ref
ChayimFriedman2 Feb 20, 2026
d778d12
fix: generate method assist uses enclosing impl block instead of firs…
akashchakrabortymsc-cmd Feb 20, 2026
aa2da37
style: apply rustfmt
akashchakrabortymsc-cmd Feb 20, 2026
7daabfd
adjust libdir for windows, use lld during enzyme build when needed
ZuseZ4 Feb 18, 2026
4bf4ff1
Enable autodiff in CI for mingw-llvm,linux
ZuseZ4 Feb 19, 2026
c033de9
Move aarch64-apple dist builder to dynamic llvm linking and enable au…
ZuseZ4 Feb 19, 2026
ca3d3b7
fix: remove redundant comment
akashchakrabortymsc-cmd Feb 21, 2026
86d0e71
Merge pull request #21684 from akashchakrabortymsc-cmd/fix/generate-m…
A4-Tacks Feb 21, 2026
fba1ca8
fix: correctly parenthesize inverted condition in convert_if_to_bool_…
akashchakrabortymsc-cmd Feb 21, 2026
8b2c10f
Replace LLVMRustModuleBuffer with generic LLVMRustBuffer
bjorn3 Feb 12, 2026
a5372d1
Replace LLVMRustThinLTOBuffer with separate LLVMRustBuffers for bitco…
bjorn3 Feb 12, 2026
a086b36
Remove ModuleBuffer ThinBuffer duplication
bjorn3 Feb 12, 2026
474a716
Remove explicit EmitThinLTOSummary argument
bjorn3 Feb 12, 2026
ff454c1
Simplify function signatures of serialize_module and prepare_thin
bjorn3 Feb 12, 2026
3decb52
Remove last remaining ModuleBuffer/ThinBuffer duplication
bjorn3 Feb 13, 2026
e883143
Merge pull request #21688 from akashchakrabortymsc-cmd/fix/convert-if…
A4-Tacks Feb 22, 2026
dbf337f
Fix another case where we forgot to put the type param for `PartialOr…
ChayimFriedman2 Feb 22, 2026
d5311ad
Revert relative paths for std links in rustc-docs
arferreira Feb 22, 2026
60369b2
Merge pull request #21692 from ChayimFriedman2/builtin-derive-param
ShoyuVanilla Feb 22, 2026
2a58411
Port `#[feature]` to the new attribute parsing infrastructure
JonathanBrouwer Feb 22, 2026
cf9ab2d
Use feature parser throughout the compiler
JonathanBrouwer Feb 22, 2026
0b52901
Update uitests
JonathanBrouwer Feb 22, 2026
34d6161
Port `#[rustc_inherit_overflow_checks]` to the new attribute parsers
JonathanBrouwer Feb 22, 2026
5b87b99
fix interpreter tracing output
RalfJung Feb 22, 2026
5cfaada
Check importing crate/$crate/super after handling self
mu001999 Feb 23, 2026
1b5a80c
Prepare for merging from rust-lang/rust
invalid-email-address Feb 23, 2026
419ee10
Merge ref 'c78a29473a68' from rust-lang/rust
invalid-email-address Feb 23, 2026
446d1e1
Sort `rustc_middle::query::modifiers`
Zalathar Feb 23, 2026
ab0576b
Make dummy modifier items non-pub
Zalathar Feb 23, 2026
e9ee5f8
More explanation of what the dummy items in `modifiers` are for
Zalathar Feb 23, 2026
d8ffd91
Merge pull request #21694 from rust-lang/rustc-pull
lnicola Feb 23, 2026
4e24abb
bootstrap.compiler.toml: update name of primary branch
DanielEScherzer Feb 23, 2026
04e9918
make TraitImpl unstable
Feb 23, 2026
9436e6e
Add `TyCtxt::emit_diag_node_span_lint` method
GuillaumeGomez Feb 23, 2026
119b87f
Migrate `rustc_borrowck` to use `TyCtxt::emit_diag_node_span_lint`
GuillaumeGomez Feb 23, 2026
1a426a0
Migrate `rustc_codegen_ssa` to use `TyCtxt::emit_diag_node_span_lint`
GuillaumeGomez Feb 23, 2026
ab3d14c
Migrate `rustc_const_eval` to use `TyCtxt::emit_diag_node_span_lint`
GuillaumeGomez Feb 23, 2026
b8677e2
Migrate `rustc_hir_analysis` to use `TyCtxt::emit_diag_node_span_lint`
GuillaumeGomez Feb 23, 2026
262744e
Enable rust.remap-debuginfo in the dist profile
bjorn3 Feb 20, 2026
266fe95
Return earlier in `diag_lint_level` to prevent cases where a printed …
GuillaumeGomez Feb 23, 2026
b8f5241
Migrate `rustc_hir_typeck` to use `TyCtxt::emit_diag_node_span_lint`
GuillaumeGomez Feb 23, 2026
e628806
rustdoc: Improve sentence for documented empty impl blocks
GuillaumeGomez Feb 23, 2026
e208d67
Rollup merge of #153007 - lnicola:sync-from-ra, r=lnicola
JonathanBrouwer Feb 23, 2026
1894a0e
Rollup merge of #152670 - bjorn3:lto_refactors12, r=petrochenkov
JonathanBrouwer Feb 23, 2026
1d21fd3
Rollup merge of #152768 - ZuseZ4:autodiff-in-ci-for-all-os, r=Kobzol
JonathanBrouwer Feb 23, 2026
e173d63
Rollup merge of #152908 - bjorn3:dist_profile_remap_debuginfo, r=Kobzol
JonathanBrouwer Feb 23, 2026
4b56034
Rollup merge of #152999 - mu001999-contrib:fix/152997, r=petrochenkov
JonathanBrouwer Feb 23, 2026
1d6e7ec
Rollup merge of #152003 - 9SonSteroids:trait_info_of, r=oli-obk
JonathanBrouwer Feb 23, 2026
3e430a1
Rollup merge of #152976 - arferreira:revert-relative-extern-paths, r=…
JonathanBrouwer Feb 23, 2026
3787688
Rollup merge of #152985 - JonathanBrouwer:convert-feature, r=jdonszel…
JonathanBrouwer Feb 23, 2026
ad04c77
Rollup merge of #152989 - JonathanBrouwer:rustc_inherit_overflow_chec…
JonathanBrouwer Feb 23, 2026
5835df0
Rollup merge of #152991 - RalfJung:interpret-step-trace, r=Kivooeo
JonathanBrouwer Feb 23, 2026
5370cdd
Rollup merge of #153004 - Zalathar:tweak-modifiers, r=wesleywiser
JonathanBrouwer Feb 23, 2026
60941db
Rollup merge of #153008 - DanielEScherzer:patch-2, r=Zalathar
JonathanBrouwer Feb 23, 2026
b55a3e4
Rollup merge of #153016 - GuillaumeGomez:migrate-diag, r=JonathanBrou…
JonathanBrouwer Feb 23, 2026
bea1d9c
Rollup merge of #153020 - GuillaumeGomez:improve-empty-impl-blocks-se…
JonathanBrouwer Feb 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3515,6 +3515,7 @@ dependencies = [
"rustc_data_structures",
"rustc_errors",
"rustc_feature",
"rustc_hir",
"rustc_macros",
"rustc_session",
"rustc_span",
Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_ast_passes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ rustc_attr_parsing = { path = "../rustc_attr_parsing" }
rustc_data_structures = { path = "../rustc_data_structures" }
rustc_errors = { path = "../rustc_errors" }
rustc_feature = { path = "../rustc_feature" }
rustc_hir = { path = "../rustc_hir" }
rustc_macros = { path = "../rustc_macros" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
Expand Down
23 changes: 18 additions & 5 deletions compiler/rustc_ast_passes/src/feature_gate.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
use rustc_ast::visit::{self, AssocCtxt, FnCtxt, FnKind, Visitor};
use rustc_ast::{self as ast, AttrVec, NodeId, PatKind, attr, token};
use rustc_attr_parsing::AttributeParser;
use rustc_errors::msg;
use rustc_feature::{AttributeGate, BUILTIN_ATTRIBUTE_MAP, BuiltinAttribute, Features};
use rustc_hir::Attribute;
use rustc_hir::attrs::AttributeKind;
use rustc_session::Session;
use rustc_session::parse::{feature_err, feature_warn};
use rustc_span::source_map::Spanned;
use rustc_span::{Span, Symbol, sym};
use rustc_span::{DUMMY_SP, Span, Symbol, sym};
use thin_vec::ThinVec;

use crate::errors;
Expand Down Expand Up @@ -647,17 +650,27 @@ fn maybe_stage_features(sess: &Session, features: &Features, krate: &ast::Crate)
return;
}
let mut errored = false;
for attr in krate.attrs.iter().filter(|attr| attr.has_name(sym::feature)) {

if let Some(Attribute::Parsed(AttributeKind::Feature(feature_idents, first_span))) =
AttributeParser::parse_limited(
sess,
&krate.attrs,
sym::feature,
DUMMY_SP,
krate.id,
Some(&features),
)
{
// `feature(...)` used on non-nightly. This is definitely an error.
let mut err = errors::FeatureOnNonNightly {
span: attr.span,
span: first_span,
channel: option_env!("CFG_RELEASE_CHANNEL").unwrap_or("(unknown)"),
stable_features: vec![],
sugg: None,
};

let mut all_stable = true;
for ident in attr.meta_item_list().into_iter().flatten().flat_map(|nested| nested.ident()) {
for ident in feature_idents {
let name = ident.name;
let stable_since = features
.enabled_lang_features()
Expand All @@ -672,7 +685,7 @@ fn maybe_stage_features(sess: &Session, features: &Features, krate: &ast::Crate)
}
}
if all_stable {
err.sugg = Some(attr.span);
err.sugg = Some(first_span);
}
sess.dcx().emit_err(err);
errored = true;
Expand Down
46 changes: 46 additions & 0 deletions compiler/rustc_attr_parsing/src/attributes/crate_level.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,3 +301,49 @@ impl<S: Stage> NoArgsAttributeParser<S> for DefaultLibAllocatorParser {
const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Allow(Target::Crate)]);
const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::DefaultLibAllocator;
}

pub(crate) struct FeatureParser;

impl<S: Stage> CombineAttributeParser<S> for FeatureParser {
const PATH: &[Symbol] = &[sym::feature];
type Item = Ident;
const CONVERT: ConvertFn<Self::Item> = AttributeKind::Feature;
const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Allow(Target::Crate)]);
const TEMPLATE: AttributeTemplate = template!(List: &["feature1, feature2, ..."]);

fn extend(
cx: &mut AcceptContext<'_, '_, S>,
args: &ArgParser,
) -> impl IntoIterator<Item = Self::Item> {
let ArgParser::List(list) = args else {
cx.expected_list(cx.attr_span, args);
return Vec::new();
};

if list.is_empty() {
cx.warn_empty_attribute(cx.attr_span);
}

let mut res = Vec::new();

for elem in list.mixed() {
let Some(elem) = elem.meta_item() else {
cx.expected_identifier(elem.span());
continue;
};
if let Err(arg_span) = elem.args().no_args() {
cx.expected_no_args(arg_span);
continue;
}

let path = elem.path();
let Some(ident) = path.word() else {
cx.expected_identifier(path.span());
continue;
};
res.push(ident);
}

res
}
}
14 changes: 14 additions & 0 deletions compiler/rustc_attr_parsing/src/attributes/rustc_internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,20 @@ impl<S: Stage> SingleAttributeParser<S> for RustcLegacyConstGenericsParser {
}
}

pub(crate) struct RustcInheritOverflowChecksParser;

impl<S: Stage> NoArgsAttributeParser<S> for RustcInheritOverflowChecksParser {
const PATH: &[Symbol] = &[sym::rustc_inherit_overflow_checks];
const ON_DUPLICATE: OnDuplicate<S> = OnDuplicate::Error;
const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[
Allow(Target::Fn),
Allow(Target::Method(MethodKind::Inherent)),
Allow(Target::Method(MethodKind::TraitImpl)),
Allow(Target::Closure),
]);
const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcInheritOverflowChecks;
}

pub(crate) struct RustcLintOptDenyFieldAccessParser;

impl<S: Stage> SingleAttributeParser<S> for RustcLintOptDenyFieldAccessParser {
Expand Down
2 changes: 2 additions & 0 deletions compiler/rustc_attr_parsing/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ attribute_parsers!(
Combine<AllowInternalUnstableParser>,
Combine<CrateTypeParser>,
Combine<DebuggerViualizerParser>,
Combine<FeatureParser>,
Combine<ForceTargetFeatureParser>,
Combine<LinkParser>,
Combine<ReprParser>,
Expand Down Expand Up @@ -286,6 +287,7 @@ attribute_parsers!(
Single<WithoutArgs<RustcEvaluateWhereClausesParser>>,
Single<WithoutArgs<RustcHasIncoherentInherentImplsParser>>,
Single<WithoutArgs<RustcHiddenTypeOfOpaquesParser>>,
Single<WithoutArgs<RustcInheritOverflowChecksParser>>,
Single<WithoutArgs<RustcInsignificantDtorParser>>,
Single<WithoutArgs<RustcIntrinsicConstStableIndirectParser>>,
Single<WithoutArgs<RustcIntrinsicParser>>,
Expand Down
7 changes: 6 additions & 1 deletion compiler/rustc_borrowck/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2698,7 +2698,12 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, '_, 'tcx> {

let mut_span = tcx.sess.source_map().span_until_non_whitespace(span);

tcx.emit_node_span_lint(UNUSED_MUT, lint_root, span, VarNeedNotMut { span: mut_span })
tcx.emit_diag_node_span_lint(
UNUSED_MUT,
lint_root,
span,
VarNeedNotMut { span: mut_span },
)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_borrowck/src/session_diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub(crate) struct GenericDoesNotLiveLongEnough {
pub span: Span,
}

#[derive(LintDiagnostic)]
#[derive(Diagnostic)]
#[diag("variable does not need to be mutable")]
pub(crate) struct VarNeedNotMut {
#[suggestion(
Expand Down
21 changes: 3 additions & 18 deletions compiler/rustc_codegen_gcc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ use rustc_codegen_ssa::back::write::{
};
use rustc_codegen_ssa::base::codegen_crate;
use rustc_codegen_ssa::target_features::cfg_target_feature;
use rustc_codegen_ssa::traits::{
CodegenBackend, ExtraBackendMethods, ThinBufferMethods, WriteBackendMethods,
};
use rustc_codegen_ssa::traits::{CodegenBackend, ExtraBackendMethods, WriteBackendMethods};
use rustc_codegen_ssa::{CodegenResults, CompiledModule, ModuleCodegen, TargetConfig};
use rustc_data_structures::fx::FxIndexMap;
use rustc_data_structures::profiling::SelfProfilerRef;
Expand Down Expand Up @@ -423,20 +421,11 @@ unsafe impl Send for SyncContext {}
// FIXME(antoyo): that shouldn't be Sync. Parallel compilation is currently disabled with "CodegenBackend::supports_parallel()".
unsafe impl Sync for SyncContext {}

pub struct ThinBuffer;

impl ThinBufferMethods for ThinBuffer {
fn data(&self) -> &[u8] {
&[]
}
}

impl WriteBackendMethods for GccCodegenBackend {
type Module = GccContext;
type TargetMachine = ();
type ModuleBuffer = ModuleBuffer;
type ThinData = ();
type ThinBuffer = ThinBuffer;

fn run_and_optimize_fat_lto(
cgcx: &CodegenContext,
Expand All @@ -458,7 +447,7 @@ impl WriteBackendMethods for GccCodegenBackend {
// FIXME(bjorn3): Limit LTO exports to these symbols
_exported_symbols_for_lto: &[String],
_each_linked_rlib_for_lto: &[PathBuf],
_modules: Vec<(String, Self::ThinBuffer)>,
_modules: Vec<(String, Self::ModuleBuffer)>,
_cached_modules: Vec<(SerializedModule<Self::ModuleBuffer>, WorkProduct)>,
) -> (Vec<ThinModule<Self>>, Vec<WorkProduct>) {
unreachable!()
Expand Down Expand Up @@ -502,11 +491,7 @@ impl WriteBackendMethods for GccCodegenBackend {
back::write::codegen(cgcx, prof, shared_emitter, module, config)
}

fn prepare_thin(_module: ModuleCodegen<Self::Module>) -> (String, Self::ThinBuffer) {
unreachable!()
}

fn serialize_module(_module: ModuleCodegen<Self::Module>) -> (String, Self::ModuleBuffer) {
fn serialize_module(_module: Self::Module, _is_thin: bool) -> Self::ModuleBuffer {
unimplemented!();
}
}
Expand Down
Loading
Loading