Skip to content

Commit 8354984

Browse files
committed
Release 0.25.4
Remove anyhow glob imports. Fix typo in ldproxy readme.
1 parent 31eeac8 commit 8354984

File tree

10 files changed

+10
-11
lines changed

10 files changed

+10
-11
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["cargo-pio", "ldproxy"]
33

44
[package]
55
name = "embuild"
6-
version = "0.25.3"
6+
version = "0.25.4"
77
authors = ["Ivan Markov <[email protected]>", "Dominik Gschwind <[email protected]>"]
88
edition = "2018"
99
categories = ["embedded", "development-tools::build-utils"]

cargo-pio/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::ffi::OsString;
22
use std::path::{Path, PathBuf};
33
use std::{env, fs};
44

5-
use anyhow::*;
5+
use anyhow::{bail, Result};
66
use embuild::cargo::CargoCmd;
77
use embuild::pio::*;
88
use embuild::*;

ldproxy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ These arguments are only used by `ldproxy` and not forwarded to the proxied link
1414

1515
**required**
1616

17-
Tells `ldproxy` the path to the linker. If multiple `--ld-proxy` arguments are found
17+
Tells `ldproxy` the path to the linker. If multiple `--ldproxy-linker` arguments are found
1818
only the last will be used.
1919

2020
- `--ldproxy-cwd=<path>`, `--ldproxy-cwd <path>`

ldproxy/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std::path::Path;
44
use std::process::Command;
55
use std::vec::Vec;
66

7-
use anyhow::*;
7+
use anyhow::{bail, Result};
88
use embuild::build;
99
use embuild::cli::{ParseFrom, UnixCommandArgs};
1010
use log::*;

src/bingen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::io::Write;
33
use std::path::{Path, PathBuf};
44
use std::{cmp, env};
55

6-
use anyhow::*;
6+
use anyhow::{Error, Result};
77
use xmas_elf::ElfFile;
88

99
pub const VAR_BIN_FILE: &str = "EMBUILD_GENERATED_BIN_FILE";

src/build.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ use std::fmt::Display;
33
use std::path::{Path, PathBuf};
44
use std::{env, vec};
55

6-
use anyhow::*;
7-
86
use crate::cargo::{self, add_link_arg, print_warning, set_metadata, track_file};
97
use crate::cli::{self, Arg, ArgDef};
108
use crate::utils::OsStrExt;
9+
use anyhow::{anyhow, Context, Result};
1110

1211
const VAR_C_INCLUDE_ARGS: &str = "EMBUILD_C_INCLUDE_ARGS";
1312
const VAR_LINK_ARGS: &str = "EMBUILD_LINK_ARGS";

src/cmake/file_api/codemodel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ pub use target::Target;
166166
pub mod target {
167167
use std::path::{Path, PathBuf};
168168

169-
use anyhow::*;
169+
use anyhow::{anyhow, Context, Result};
170170
use serde::Deserialize;
171171

172172
use super::Language;

src/kconfig.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::{
77
path::Path,
88
};
99

10-
use anyhow::*;
10+
use anyhow::Result;
1111

1212
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
1313
pub enum Tristate {

src/pio/project.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std::io::Write;
44
use std::path::{Path, PathBuf};
55
use std::{array, env};
66

7-
use anyhow::*;
7+
use anyhow::Result;
88
use log::*;
99
use serde::{Deserialize, Serialize};
1010

src/symgen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::io::Write;
33
use std::path::{Path, PathBuf};
44
use std::{env, fmt};
55

6-
use anyhow::*;
6+
use anyhow::{Error, Result};
77
use xmas_elf::sections::{SectionData, ShType};
88
use xmas_elf::{symbol_table, ElfFile};
99

0 commit comments

Comments
 (0)