Skip to content

Commit

Permalink
drop RPi3
Browse files Browse the repository at this point in the history
  • Loading branch information
mitnk committed Sep 29, 2024
1 parent f91487c commit f4172e8
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# cicada Release Notes

## 1.0.1 - 2024.09.29

- update version of cicada in the lock file.
- Drop buildability on my RPi3 (revert this commit to build).

## 1.0.0 - 2024.09.29

- Bumped version to 1.0!
Expand Down
2 changes: 1 addition & 1 deletion 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
edition = "2021"
build = "src/build.rs"
name = "cicada"
version = "1.0.0"
version = "1.0.1"
authors = ["Hugo Wang <[email protected]>"]

description = "A simple Bash-like Unix shell."
Expand Down
9 changes: 9 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ $ cd cicada-shell/
$ makepkg -si
```

### Termux

Termux is an Android [terminal emulater](https://wiki.termux.com/wiki/Main_Page).

To install cicada in Termux, just input:
```
$ pkg install cicada
```

## Generic Install Options

### Option A: cargo
Expand Down
10 changes: 2 additions & 8 deletions src/builtins/ulimit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,9 @@ fn set_limit(limit_name: &str, value: u64, for_hard: bool) -> String {

// to make Raspbian GNU/Linux 10 armv7l work
if for_hard {
#[cfg(target_pointer_width = "32")]
{ rlp.rlim_max = value as u32; }
#[cfg(target_pointer_width = "64")]
{ rlp.rlim_max = value; }
rlp.rlim_max = value;
} else {
#[cfg(target_pointer_width = "32")]
{ rlp.rlim_cur = value as u32; }
#[cfg(target_pointer_width = "64")]
{ rlp.rlim_cur = value; }
rlp.rlim_cur = value;
}

unsafe {
Expand Down

0 comments on commit f4172e8

Please sign in to comment.