I'm getting the following error message when trying to make:
rustc --extern getopt=build/o/libgetopt.rlib --extern strerror=build/o/libstrerror.rlib --extern sysexits=build/o/libsysexits.rlib --extern openbsd=build/o/libopenbsd.rlib --crate-type=lib --cra
te-name=openbsd -o build/o/libopenbsd.rlib src/libopenbsd.rs
|
57 | match openbsd::pledge(arg1, arg2) {
| ^^^^^^^^^^^^^^^
|
note: expected `*const u8`, found `*const i8`
--> src/libopenbsd.rs:57:25
|
57 | match openbsd::pledge(arg1, arg2) {
| ^^^^
= note: expected raw pointer `*const u8`
found raw pointer `*const i8`
note: expected `*const u8`, found `*const i8`
--> src/libopenbsd.rs:57:31
|
57 | match openbsd::pledge(arg1, arg2) {
| ^^^^
= note: expected raw pointer `*const u8`
found raw pointer `*const i8`
note: function defined here
--> src/libopenbsd.rs:28:10
|
28 | pub fn pledge(arg1: *const c_char, arg2: *const c_char) -> c_int;
| ^^^^^^
error[E0308]: arguments to this function are incorrect
--> src/libopenbsd.rs:91:9
|
91 | match openbsd::unveil(arg1, arg2) {
| ^^^^^^^^^^^^^^^
|
note: expected `*const u8`, found `*const i8`
--> src/libopenbsd.rs:91:25
|
91 | match openbsd::unveil(arg1, arg2) {
| ^^^^
= note: expected raw pointer `*const u8`
found raw pointer `*const i8`
note: expected `*const u8`, found `*const i8`
--> src/libopenbsd.rs:91:31
|
91 | match openbsd::unveil(arg1, arg2) {
| ^^^^
= note: expected raw pointer `*const u8`
found raw pointer `*const i8`
note: function defined here
--> src/libopenbsd.rs:30:10
|
30 | pub fn unveil(arg1: *const c_char, arg2: *const c_char) -> c_int;
| ^^^^^^
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.
*** Error 1 in /home/trinity/harakit (include/OpenBSD.mk:13 'build/o/libopenbsd.rlib')
Usual troubleshooting turns up empty:
$ git status
On branch openbsd
Your branch is up to date with 'origin/openbsd'.
$ make clean
rm -rf build dist
$ make
[many lines abridged]
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.
*** Error 1 in /home/trinity/harakit (include/OpenBSD.mk:13 'build/o/libopenbsd.rlib')
Here's my uname:
$ uname -a
OpenBSD laika.my.domain 7.5 GENERIC#97 arm64
I'm getting the following error message when trying to `make`:
```
rustc --extern getopt=build/o/libgetopt.rlib --extern strerror=build/o/libstrerror.rlib --extern sysexits=build/o/libsysexits.rlib --extern openbsd=build/o/libopenbsd.rlib --crate-type=lib --cra
te-name=openbsd -o build/o/libopenbsd.rlib src/libopenbsd.rs
|
57 | match openbsd::pledge(arg1, arg2) {
| ^^^^^^^^^^^^^^^
|
note: expected `*const u8`, found `*const i8`
--> src/libopenbsd.rs:57:25
|
57 | match openbsd::pledge(arg1, arg2) {
| ^^^^
= note: expected raw pointer `*const u8`
found raw pointer `*const i8`
note: expected `*const u8`, found `*const i8`
--> src/libopenbsd.rs:57:31
|
57 | match openbsd::pledge(arg1, arg2) {
| ^^^^
= note: expected raw pointer `*const u8`
found raw pointer `*const i8`
note: function defined here
--> src/libopenbsd.rs:28:10
|
28 | pub fn pledge(arg1: *const c_char, arg2: *const c_char) -> c_int;
| ^^^^^^
error[E0308]: arguments to this function are incorrect
--> src/libopenbsd.rs:91:9
|
91 | match openbsd::unveil(arg1, arg2) {
| ^^^^^^^^^^^^^^^
|
note: expected `*const u8`, found `*const i8`
--> src/libopenbsd.rs:91:25
|
91 | match openbsd::unveil(arg1, arg2) {
| ^^^^
= note: expected raw pointer `*const u8`
found raw pointer `*const i8`
note: expected `*const u8`, found `*const i8`
--> src/libopenbsd.rs:91:31
|
91 | match openbsd::unveil(arg1, arg2) {
| ^^^^
= note: expected raw pointer `*const u8`
found raw pointer `*const i8`
note: function defined here
--> src/libopenbsd.rs:30:10
|
30 | pub fn unveil(arg1: *const c_char, arg2: *const c_char) -> c_int;
| ^^^^^^
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.
*** Error 1 in /home/trinity/harakit (include/OpenBSD.mk:13 'build/o/libopenbsd.rlib')
```
Usual troubleshooting turns up empty:
```
$ git status
On branch openbsd
Your branch is up to date with 'origin/openbsd'.
$ make clean
rm -rf build dist
$ make
[many lines abridged]
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.
*** Error 1 in /home/trinity/harakit (include/OpenBSD.mk:13 'build/o/libopenbsd.rlib')
```
Here's my uname:
```
$ uname -a
OpenBSD laika.my.domain 7.5 GENERIC#97 arm64
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
As far as I’m concerned, this is ready for merging.
I'm getting the following error message when trying to
make:Usual troubleshooting turns up empty:
Here's my uname:
The latest commit should fix this issue, @trinity. Please let me know.
Works great.
Merged.
It doesn't look like some of my later commits got merged - include/None.mk is still in use in main.
Fixed.
Pull request closed