cmdseq-rust's People
cmdseq-rust's Issues
Running without arguments causes panic
I think cmdseq
needs to explicitly test if any arguments are passed:
$ target/debug/cmdseq 1 "echo 1" 2 "echo 2"
1
$ target/debug/cmdseq
thread '<main>' panicked at 'out of range index 0', src/main.rs:55
Doesn't build on OpenBSD
Currently this doesn't build for me, probably solely because of a problem with rust-crypto:
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading rust-crypto v0.2.34
Downloading rand v0.3.13
Compiling libc v0.1.12
Compiling libc v0.2.4
Compiling rustc-serialize v0.3.16
Compiling gcc v0.3.21
Compiling winapi v0.2.5
Compiling winapi-build v0.1.1
Compiling getopts v0.2.14
Compiling advapi32-sys v0.1.2
Compiling kernel32-sys v0.2.1
Compiling rust-crypto v0.2.34
Compiling rand v0.3.13
Compiling time v0.1.34
Build failed, waiting for other jobs to finish...
failed to run custom build command for `rust-crypto v0.2.34`
Process didn't exit successfully: `/extra1/tmp/cmdseq-rust/target/debug/build/rust-crypto-feefa0fa34543a2b/build-script-build` (exit code: 101)
--- stdout
TARGET = Some("x86_64-unknown-openbsd")
OPT_LEVEL = Some("0")
PROFILE = Some("debug")
TARGET = Some("x86_64-unknown-openbsd")
debug=true opt-level=0
HOST = Some("x86_64-unknown-openbsd")
TARGET = Some("x86_64-unknown-openbsd")
TARGET = Some("x86_64-unknown-openbsd")
HOST = Some("x86_64-unknown-openbsd")
CC_x86_64-unknown-openbsd = None
CC_x86_64_unknown_openbsd = None
HOST_CC = None
CC = None
HOST = Some("x86_64-unknown-openbsd")
TARGET = Some("x86_64-unknown-openbsd")
HOST = Some("x86_64-unknown-openbsd")
CFLAGS_x86_64-unknown-openbsd = None
CFLAGS_x86_64_unknown_openbsd = None
HOST_CFLAGS = None
CFLAGS = None
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-m64" "-fPIC" "-o" "/extra1/tmp/cmdseq-rust/target/debug/build/rust-crypto-feefa0fa34543a2b/out/src/util_helpers.o" "-c" "src/util_helpers.c"
ExitStatus(ExitStatus(0))
TARGET = Some("x86_64-unknown-openbsd")
OPT_LEVEL = Some("0")
PROFILE = Some("debug")
TARGET = Some("x86_64-unknown-openbsd")
debug=true opt-level=0
HOST = Some("x86_64-unknown-openbsd")
TARGET = Some("x86_64-unknown-openbsd")
TARGET = Some("x86_64-unknown-openbsd")
HOST = Some("x86_64-unknown-openbsd")
CC_x86_64-unknown-openbsd = None
CC_x86_64_unknown_openbsd = None
HOST_CC = None
CC = None
HOST = Some("x86_64-unknown-openbsd")
TARGET = Some("x86_64-unknown-openbsd")
HOST = Some("x86_64-unknown-openbsd")
CFLAGS_x86_64-unknown-openbsd = None
CFLAGS_x86_64_unknown_openbsd = None
HOST_CFLAGS = None
CFLAGS = None
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-m64" "-fPIC" "-o" "/extra1/tmp/cmdseq-rust/target/debug/build/rust-crypto-feefa0fa34543a2b/out/src/aesni_helpers.o" "-c" "src/aesni_helpers.c"
ExitStatus(ExitStatus(256))
command did not execute successfully, got: exit code: 1
--- stderr
/extra1/tmp//cctq8Zvx.s: Assembler messages:
/extra1/tmp//cctq8Zvx.s:49: Error: no such instruction: `vpslldq $0x04,%xmm1,%xmm3'
/extra1/tmp//cctq8Zvx.s:49: Error: no such instruction: `vpslldq $0x4,%xmm1,%xmm3'
/extra1/tmp//cctq8Zvx.s:49: Error: no such instruction: `vpslldq $0x04,%xmm1,%xmm3'
thread '<main>' panicked at 'explicit panic', /home/ltratt/.cargo/registry/src/github.com-0a35038f75765ae4/gcc-0.3.21/src/lib.rs:772
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.