opilarium
f8d11980bb
Document common values for std libs
8 years ago
opilarium
3933e0093b
Add tests
8 years ago
opilarium
e9caabf069
Add warning message to warnings_into_errors method
8 years ago
opilarium
26b86649b2
The same warning flags for GNU and Clang
8 years ago
opilarium
8ce7108d75
Add warnings control
8 years ago
opilarium
0cb7d0ba87
Fix examples
8 years ago
Thomas Jespersen
8c644e54e9
Config: accept Into<Option<&str>> instead of Option<&str>
Per @dtolnay's suggestion, change methods on Config that accepts Option<&str> to
accept Into<Option<&str>> to make the calls look neater.
Fixes #224
8 years ago
Marco Satti
1067a72539
Fix Error new function typo.
8 years ago
Marco Satti
3cd8c8c44a
Update min rust version to 1.13.0 to support '?' feature.
8 years ago
Marco Satti
158cb3a8a8
Refactored rest of error checking.
8 years ago
Marco Satti
b6dc1bd9a5
Merge branch 'try-refactor' of https://github.com/marco9999/gcc-rs into try-refactor
8 years ago
Marco Satti
fd504ab5af
Added Into<Error> trait from io::Error. Partial refactoring of the errors thrown.
8 years ago
Marco Satti
da8101408d
Fix expand() signature.
8 years ago
Marco Satti
79023e0652
Make error types private.
8 years ago
Marco Satti
2b6fb672a8
Added in parallel compile_objects() error handling.
8 years ago
Marco Satti
0283924777
Added a try variant to fn get_compiler.
8 years ago
Marco Satti
f4958c81a5
Added in error checking for the compile() and expand() functions.
8 years ago
Alex Crichton
88ac58e25c
Merge pull request #221 from jehiggs/master
Clarify behavior of `expand`
8 years ago
James Higgs
8d0695d502
Merge remote-tracking branch 'upstream/master'
8 years ago
Alex Crichton
3ea767f12a
Skip flag_if_supported test on Windows
8 years ago
Alex Crichton
7775fd3df7
Merge pull request #219 from chrisvittal/asm-doc
Add note that crate can compile assembly.
8 years ago
James Higgs
e4987130c2
Merge remote-tracking branch 'upstream/master'
8 years ago
James Higgs
f8fcfe1f2b
Update assert and adjust docs
8 years ago
James Higgs
92d0b578a2
Fix up the example for expand
8 years ago
James Higgs
e872a0bdbc
Assert that there's only one file in config when using expand
8 years ago
Christopher Vittal
69dbb53dcf
Add note that crate can compile assembly.
8 years ago
Alex Crichton
501a5bfb4a
Bump minimum version to 1.9.0
8 years ago
Alex Crichton
db7b134541
Merge pull request #218 from ronnychevalier/rc/use_try_macro
config: use try! instead of ? to support rust 1.6.0
8 years ago
Ronny Chevalier
382f8f52e8
config: use try! instead of ? to support rust 1.6.0
The use of ? is only available and stable since 1.13.0, while the
minimum version supported is 1.6.0.
8 years ago
Alex Crichton
ee4c0f11ca
Merge pull request #215 from ronnychevalier/rc/flag_if_supported
config: add flag_if_supported
8 years ago
Alex Crichton
93b3531d16
Merge pull request #214 from AndyGauge/lib-name-fix
Preventing bug if liberace makes a library using new syntax
8 years ago
Ronny Chevalier
590a974a8a
config: add flag_if_supported
It allows one to add a flag to the compiler on the condition that the
compiler supports it.
We check if the compiler supports the flag by trying to compile a
simple executable. If there is some output on stderr we consider that
the compiler failed and the flag is not supported.
8 years ago
Alex Crichton
c738a5013e
Fix example in README
8 years ago
Andy Gauge
169ff59e04
Preventing bug if liberace makes a library using new syntax
8 years ago
Alex Crichton
178b8b4be3
Work around appveyor issues
8 years ago
Alex Crichton
7618c2192a
Merge pull request #211 from rap2hpoutre/master
Add some panic conditions
8 years ago
Raphaël Huchet
12dc0bab96
Merge branch 'master' into master
8 years ago
Alex Crichton
7b6f4a0738
Merge pull request #213 from omh1280/remove_compile_library
Remove `compile_library`
8 years ago
Ottavio Hartman
5c5d692aec
Merge remote-tracking branch 'upstream/master' into remove_compile_library
8 years ago
Ottavio Hartman
a761285174
Remove compile_library function
8 years ago
Alex Crichton
8b993f4537
Merge pull request #212 from AndyGauge/lib_name
Changed compile to accept name of library and updated examples
8 years ago
Alex Crichton
109ff274a7
Merge pull request #210 from AndyGauge/doc_hyperlinks
Added hyperlinks to internal methods/structs/functions within docs.
8 years ago
Andy Gauge
87da1012e9
README has examples and documentation that is affected.
8 years ago
Andy Gauge
89a9d3dfce
Changed compile to accept name of library and updated examples
8 years ago
rap2h
f1e8ae14d0
Add some panic conditions
8 years ago
Andy Gauge
c0481c97f3
Added hyperlinks to internal methods/structs/functions within docs.
8 years ago
Alex Crichton
2b0d2be603
Merge pull request #206 from opilar/feature/target-host-docs
target/host examples in docs
8 years ago
Alex Crichton
4adb2bc940
Merge pull request #204 from opilar/feature/config-derive
Implementation for Config::default
8 years ago
Alex Crichton
a1ad8ab774
Merge pull request #205 from opilar/feature/config-files
Config::files method
8 years ago
Alex Crichton
09e127c80c
Merge pull request #208 from opilar/feature/categories-readme
Add readme and categories to Cargo.toml
8 years ago