Rollup merge of #103015 - whentojump:patch, r=compiler-errors
fix a typo
This commit is contained in:
commit
8c9ecbb7e3
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ pub(crate) fn link(
|
|||
mut modules: Vec<ModuleCodegen<ModuleLlvm>>,
|
||||
) -> Result<ModuleCodegen<ModuleLlvm>, FatalError> {
|
||||
use super::lto::{Linker, ModuleBuffer};
|
||||
// Sort the modules by name to ensure to ensure deterministic behavior.
|
||||
// Sort the modules by name to ensure deterministic behavior.
|
||||
modules.sort_by(|a, b| a.name.cmp(&b.name));
|
||||
let (first, elements) =
|
||||
modules.split_first().expect("Bug! modules must contain at least one module.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue