Skip to content

Commit

Permalink
Merge pull request #91 from sdroege/clone-debug
Browse files Browse the repository at this point in the history
Derive Clone for Library and Debug for Config
  • Loading branch information
sdroege authored Sep 4, 2019
2 parents ae94051 + 989219b commit 81378e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ matrix:
before_script:
- rustup component add rustfmt-preview
script:
- [ "$RUST_STABLE" = 1 ] && cargo fmt --all -- --check || test 1
- |
if [ "$RUST_STABLE" = 1 ]; then
cargo fmt --all -- --check
fi
- cargo build --verbose
- cargo test --verbose
notifications:
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ use std::path::{Path, PathBuf};
use std::process::{Command, Output};
use std::str;

#[derive(Clone)]
#[derive(Clone, Debug)]
pub struct Config {
statik: Option<bool>,
min_version: Bound<String>,
Expand All @@ -85,7 +85,7 @@ pub struct Config {
print_system_libs: bool,
}

#[derive(Debug)]
#[derive(Clone, Debug)]
pub struct Library {
pub libs: Vec<String>,
pub link_paths: Vec<PathBuf>,
Expand Down

0 comments on commit 81378e5

Please sign in to comment.