Skip to content

Commit e22f914

Browse files
authored
Merge pull request #8 from oldrev/dev
Dev
2 parents 51380a4 + 354f7b1 commit e22f914

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

crates/core/src/runtime/model/propex.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ use std::{
22
borrow::Cow,
33
fmt::Display,
44
ops::{Deref, DerefMut},
5+
vec::Vec,
56
};
67

7-
use smallvec::SmallVec;
8-
98
use thiserror::Error;
109

1110
use crate::text::nom_parsers;
@@ -43,7 +42,7 @@ pub enum PropexSegment<'a> {
4342
#[derive(Debug, Clone, PartialEq)]
4443
pub enum PropexPath<'a> {
4544
Single(PropexSegment<'a>),
46-
Multiple(SmallVec<[PropexSegment<'a>; 4]>),
45+
Multiple(Vec<PropexSegment<'a>>),
4746
}
4847

4948
impl<'a> PropexPath<'a> {
@@ -230,7 +229,7 @@ fn expression(input: &str) -> IResult<&str, PropexPath, nom::error::Error<&str>>
230229
.parse(input)?;
231230

232231
if let Some(rest) = rest {
233-
let mut result = SmallVec::with_capacity(rest.len() + 1);
232+
let mut result = Vec::with_capacity(rest.len() + 1);
234233
result.push(first);
235234
result.extend(rest);
236235
Ok((input, PropexPath::Multiple(result)))

scripts/dist-pack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def main():
121121
bin_dir = tmp / "bin"
122122
bin_dir.mkdir()
123123
# Executable and DLLs
124-
target_dir = ROOT / "target" / args.mode
124+
target_dir = ROOT / "target" / args.target / args.mode
125125
for f in target_dir.glob("edgelinkd.exe"):
126126
shutil.copy(f, bin_dir / f.name)
127127
for dll in target_dir.glob("*.dll"):
@@ -168,4 +168,4 @@ def main():
168168
sys.exit(0)
169169

170170
if __name__ == "__main__":
171-
main()
171+
main()

0 commit comments

Comments
 (0)