Skip to content

Auto link #378

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed

Auto link #378

wants to merge 4 commits into from

Conversation

wilsonk
Copy link
Contributor

@wilsonk wilsonk commented May 16, 2011

Automatically link rustc output into an executable. Adds --emit-lvm flag for emitting bitcode files. Not tested on Mac or Win by me as I don't have those environments set up here.

@graydon
Copy link
Contributor

graydon commented May 17, 2011

Integrated, thanks.

@graydon graydon closed this May 17, 2011
pcwalton added a commit to pcwalton/rust that referenced this pull request Nov 19, 2014
followed by a semicolon.

This allows code like `vec![1i, 2, 3].len();` to work.

This breaks code that uses macros as statements without putting
semicolons after them, such as:

    fn main() {
        ...
        assert!(a == b)
        assert!(c == d)
        println(...);
    }

It also breaks code that uses macros as items without semicolons:

    local_data_key!(foo)

    fn main() {
        println("hello world")
    }

Add semicolons to fix this code. Those two examples can be fixed as
follows:

    fn main() {
        ...
        assert!(a == b);
        assert!(c == d);
        println(...);
    }

    local_data_key!(foo);

    fn main() {
        println("hello world")
    }

RFC rust-lang#378.

Closes rust-lang#18635.

[breaking-change]
japaric pushed a commit to japaric/rust that referenced this pull request Dec 18, 2014
followed by a semicolon.

This allows code like `vec![1i, 2, 3].len();` to work.

This breaks code that uses macros as statements without putting
semicolons after them, such as:

    fn main() {
        ...
        assert!(a == b)
        assert!(c == d)
        println(...);
    }

It also breaks code that uses macros as items without semicolons:

    local_data_key!(foo)

    fn main() {
        println("hello world")
    }

Add semicolons to fix this code. Those two examples can be fixed as
follows:

    fn main() {
        ...
        assert!(a == b);
        assert!(c == d);
        println(...);
    }

    local_data_key!(foo);

    fn main() {
        println("hello world")
    }

RFC rust-lang#378.

Closes rust-lang#18635.

[breaking-change]
bors added a commit that referenced this pull request Dec 18, 2014
followed by a semicolon.

This allows code like `vec![1i, 2, 3].len();` to work.

This breaks code that uses macros as statements without putting
semicolons after them, such as:

    fn main() {
        ...
        assert!(a == b)
        assert!(c == d)
        println(...);
    }

It also breaks code that uses macros as items without semicolons:

    local_data_key!(foo)

    fn main() {
        println("hello world")
    }

Add semicolons to fix this code. Those two examples can be fixed as
follows:

    fn main() {
        ...
        assert!(a == b);
        assert!(c == d);
        println(...);
    }

    local_data_key!(foo);

    fn main() {
        println("hello world")
    }

RFC #378.

Closes #18635.

[breaking-change]

---

Rebased version of #18958
r? @alexcrichton 
cc @pcwalton
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
mips: add SO_REUSEPORT

Which is required to cross compile the net2 crate. Which, in turn, is required to cross compile Cargo.

r? @alexcrichton
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
…ultiple-patterns

Document interaction of `|` patterns and pattern guards
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this pull request Mar 7, 2023
* Fix gradient struct return of ARM where the type of CI is a struct

* add integration test

* add unit test
calebzulawski added a commit to calebzulawski/rust that referenced this pull request Feb 17, 2024
carolynzech pushed a commit to carolynzech/rust that referenced this pull request Jun 13, 2025
This is an automated PR to merge library subtree updates from 2025-05-28
(rust-lang/rust@45f256d) to 2025-06-02
(rust-lang/rust@99e7c15) (inclusive)
into main. `git merge` resulted in conflicts, which require manual
resolution. Files were commited with merge conflict markers. **Do not
remove or edit the following annotations:**
git-subtree-dir: library
git-subtree-split: 513fc8f

---------

Signed-off-by: Paul Mabileau <[email protected]>
Signed-off-by: xizheyin <[email protected]>
Signed-off-by: Ayush Singh <[email protected]>
Co-authored-by: Matthias Krüger <[email protected]>
Co-authored-by: Ben Kimock <[email protected]>
Co-authored-by: Ralf Jung <[email protected]>
Co-authored-by: Urgau <[email protected]>
Co-authored-by: Dietrich Daroch <[email protected]>
Co-authored-by: Paolo Barbolini <[email protected]>
Co-authored-by: León Orell Valerian Liehr <[email protected]>
Co-authored-by: Pietro Albini <[email protected]>
Co-authored-by: Simon Sapin <[email protected]>
Co-authored-by: Julian Knodt <[email protected]>
Co-authored-by: Michael Goulet <[email protected]>
Co-authored-by: Trevor Gross <[email protected]>
Co-authored-by: Michał Łowicki <[email protected]>
Co-authored-by: Mathis Bottinelli <[email protected]>
Co-authored-by: Samuel Tardieu <[email protected]>
Co-authored-by: B I Mohammed Abbas <[email protected]>
Co-authored-by: Federico Terzi <[email protected]>
Co-authored-by: teor <[email protected]>
Co-authored-by: Eric Huss <[email protected]>
Co-authored-by: joboet <[email protected]>
Co-authored-by: bors <[email protected]>
Co-authored-by: Ryan van Polen <[email protected]>
Co-authored-by: sam skeoch <[email protected]>
Co-authored-by: Benoît du Garreau <[email protected]>
Co-authored-by: est31 <[email protected]>
Co-authored-by: GrantBirki <[email protected]>
Co-authored-by: Paul Mabileau <[email protected]>
Co-authored-by: Jack O'Connor <[email protected]>
Co-authored-by: mejrs <[email protected]>
Co-authored-by: sayantn <[email protected]>
Co-authored-by: Fluid <[email protected]>
Co-authored-by: xizheyin <[email protected]>
Co-authored-by: Speedy_Lex <[email protected]>
Co-authored-by: Stuart Cook <[email protected]>
Co-authored-by: Jeremy Smart <[email protected]>
Co-authored-by: Mario Pastorelli <[email protected]>
Co-authored-by: Marcelo Domínguez <[email protected]>
Co-authored-by: Daniel McNab <[email protected]>
Co-authored-by: Josh Triplett <[email protected]>
Co-authored-by: Christopher Berner <[email protected]>
Co-authored-by: Amanieu d'Antras <[email protected]>
Co-authored-by: Jonas Platte <[email protected]>
Co-authored-by: Marcelo Domínguez <[email protected]>
Co-authored-by: Folkert de Vries <[email protected]>
Co-authored-by: waffle <[email protected]>
Co-authored-by: Dannyyy93 <[email protected]>
Co-authored-by: Ayush Singh <[email protected]>
Co-authored-by: Tamir Duberstein <[email protected]>
Co-authored-by: Guillaume Gomez <[email protected]>
Co-authored-by: Tshepang Mbambo <[email protected]>
Co-authored-by: Jacob Pratt <[email protected]>
Co-authored-by: Chris Denton <[email protected]>
Co-authored-by: bendn <[email protected]>
Co-authored-by: 许杰友 Jieyou Xu (Joe) <[email protected]>
Co-authored-by: binarycat <[email protected]>
Co-authored-by: The Miri Cronjob Bot <[email protected]>
Co-authored-by: Sidney Cammeresi <[email protected]>
Co-authored-by: bjorn3 <[email protected]>
Co-authored-by: tk <[email protected]>
Co-authored-by: Trevor Gross <[email protected]>
Co-authored-by: Jakub Beránek <[email protected]>
Co-authored-by: Orson Peters <[email protected]>
Co-authored-by: Patrick-6 <[email protected]>
Co-authored-by: WANG Rui <[email protected]>
Co-authored-by: Scott McMurray <[email protected]>
Co-authored-by: Jubilee <[email protected]>
Co-authored-by: Ruan Comelli <[email protected]>
Co-authored-by: gitbot <git@bot>
Co-authored-by: Michael Tautschnig <[email protected]>
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