Skip to content

OptLevel changes. Accepts levels 0 to 3 only. '-O' is no longer accepted. - #357

Closed
wilsonk wants to merge 1 commit into
rust-lang:masterfrom
wilsonk:optLevel
Closed

wilsonk wants to merge 1 commit into
rust-lang:masterfrom
wilsonk:optLevel

Conversation

@wilsonk

@wilsonk wilsonk commented May 10, 2011

Copy link
Copy Markdown
Contributor

OptLevel changes. Accepts levels 0 to 3 only. '-O' is no longer accepted. New snapshot may be required (or modify the stage0/rustc command line to still use -O). I tested linux building rustc with all OptLevels.

@graydon

graydon commented May 19, 2011

Copy link
Copy Markdown
Contributor

Integrated with the change to make -O synonymous with --OptLevel=2. Shorter and saves a new snapshot from being made.

@graydon graydon closed this May 19, 2011
kazcw pushed a commit to kazcw/rust that referenced this pull request Oct 23, 2018
dlrobertson pushed a commit to dlrobertson/rust that referenced this pull request Nov 29, 2018
Remove moar keywords that were unreserved
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this pull request Mar 7, 2023
* fix bugs

* add test

* fix test
antoyo added a commit to antoyo/rust that referenced this pull request Oct 26, 2023
calebzulawski added a commit to calebzulawski/rust that referenced this pull request Nov 19, 2023
celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
carolynzech pushed a commit to carolynzech/rust that referenced this pull request Jun 13, 2025
…g intrinsics (rust-lang#357)

Update the atomic intrinsics challenge to make verifying the intrinsics
out of scope, since that would require verifying compiler
implementations that are out of scope for this effort. Also make the
part about verifying the absence of panics optional to restrict the
requirements to safety only.

I also added a `mdbook-linkcheck` dependency because I discovered I
needed that to build the book locally.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
424: remove non-doc comments from doc comments r=matklad a=csmoe

Closes rust-lang#357

Co-authored-by: csmoe <[email protected]>
malezjaa pushed a commit to malezjaa/rust that referenced this pull request Nov 14, 2026
Upgrade to ahash 0.8

This changes the default hasher to use a fixed key by default and removes the dependency on `getrandom`. This is fine since hashbrown has never made any guarantees about HashDoS resistance in its default hasher.

Users who require HashDoS resistance should explicitly use `ahash::RandomState` or `std::collections::hash_map::RandomState` as the hasher when creating a `HashMap`.

Fixes rust-lang#356
malezjaa pushed a commit to malezjaa/rust that referenced this pull request Nov 14, 2026
Documentation fix due to latest changes in the crate.

Due to merged PR rust-lang#357, rust-lang#362 I think that we need to fix docummentation.

 Fixed broken links in `HashMap::raw_table` and `HashSet::raw_table`, as well as some typos and mistakes elsewhere (especially in `EntryRef::or_insert_with_key`).

To fix rust-lang#349, I removed capacity comparisons in all places (except `drain` and `clear`),  however left the phrase "keeps the allocated memory for reuse", because although the `erase` method may not release the capacity, the subsequent `rehash_in_place` function definitely will release all.

Close rust-lang#349.
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