-
The following code:
```rust
#[allow(non_upper_case_globals)]
struct DrSeuss;
impl DrSeuss {
const Thing1: u8 = 0;
const Thing2: u8 = 1;
}
#[kani::proof]
fn main() {
let mut hay…
-
as title
and I use Box as primary_key ?
-
The `impl IntoVCL for &[u8]` should not exist in the safe code because it assumes the content of `[u8]` to be non-null bytes (with the possibility of the last byte being null). Is it even needed?
I…
-
## Overview
I am trying to implement the `Serialize` trait for the struct `
struct BytesBatch {
bytes: [u8; 32],
}
`. My attempts so far are unfruitful because of the `No method n…
-
While ZipArchive allows decryption of AES passwords from bytes, ZipWriter with FileOptions only allows for `&str` password. This behavior is inconsistent, and incomplete. Zip files can be protected us…
-
```
ex is
Sequence.find_brute_force(l Sequence T) option i32
pre
T : property.equatable
=>
if starts_with l
0
else
match as_list
nil => nil
…
-
### What's hard to do? (limit 100 words)
Due to the lack of interactive DSLX debugger when troubleshooting a logic issue in a `fn` developers can't really introspect value of intermediate let bindi…
-
Hi!
I was wondering if there's a specific reason why Image works with Vec instead of using &[u8] directly. In my use case, I provide multiple slices to the lifter to obtain the corresponding pcode,…
chf0x updated
2 weeks ago
-
It's really strange that the method enforces UTF-8. Maybe it's standard for message to be UTF-8 which is understandable but at least verification might want to skipt the UTF-8 check if the signature m…
-
If the string contains a multi-byte UTF-8 char then the error returns confusing value unsuitable for the user.
This change is kinda breaking but we can phase it slowly: add `invalid_char_human(&sel…