Skip to content

Commit

Permalink
Use cfg-elif (#2035)
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe authored Jan 23, 2025
1 parent 16c82be commit cce3c8c
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions cmd/minimal/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"cond",
"coreutils",
"doctest",
"elif",
"embeddable",
"errno",
"exif",
"expt",
"fclose",
"findutils",
Expand Down
2 changes: 1 addition & 1 deletion macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ proc-macro = true
hot-reload = []

[dependencies]
cfg-exif = "0.3.1"
cfg-elif = "0.6.0"
proc-macro2 = { version = "1.0.93", features = ["proc-macro"] }
quote = "1.0.38"
stak-compiler = { version = "0.2.3", path = "../compiler" }
Expand Down
2 changes: 1 addition & 1 deletion macro/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Macros to bundle and use Scheme programs.
use cfg_exif::feature;
use cfg_elif::expr::feature;
use core::error::Error;
use proc_macro::TokenStream;
use proc_macro2::Literal;
Expand Down
2 changes: 1 addition & 1 deletion vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ trace_instruction = []
trace_memory = []

[dependencies]
cfg-exif = "0.3.1"
cfg-elif = "0.6.0"
nonbox = { version = "0.4.1", optional = true }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion vm/src/cons.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::{value::Value, Error};
use cfg_exif::feature;
use cfg_elif::expr::feature;
use core::fmt::{self, Display, Formatter};

/// A tag.
Expand Down
2 changes: 1 addition & 1 deletion vm/src/number.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::{value::Value, Error};
use cfg_exif::feature;
use cfg_elif::expr::feature;
use core::{
fmt::{self, Display, Formatter},
ops::{Add, Div, Mul, Rem, Sub},
Expand Down
2 changes: 1 addition & 1 deletion vm/src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::{
cons::{Cons, Tag},
number::Number,
};
use cfg_exif::feature;
use cfg_elif::expr::feature;
use core::fmt::{self, Display, Formatter};

/// A value.
Expand Down

0 comments on commit cce3c8c

Please sign in to comment.