Andrew Cann

Results 20 issues of Andrew Cann

This PR adds a `raw_ptr` type to sway. These are implemented in sway-core as `TypeInfo::RawUntypedPtr`, but are (currently) lowered to `Uint(64)` in sway-ir. Raw pointers can only be created and...

lib: std
language feature
compiler: frontend

I'm working with a C API which requires me to use NUL-terminated, no-interior-NUL, ascii strings. Since the standard library contains `CStr` and `CString` types it might be nice if this...

enhancement

This is something I've wanted for a while and since I couldn't find an issue for it I thought I may as well open one. Could we add linear types...

type: enhancement
modalities

I'm unable to run peruse on NixOS. I initially had a bunch of dependency errors, but I was able to fix them by using the following `default.nix`: ``` with import...

Every once in a while, a test that uses netsim will segfault. No idea what's causing this.

netsim is pretty heavily tied to linux-only APIs for creating namespaces. I need to find out what APIs (if any) exist on other platforms for doing the same thing. Finding...

The `clone` call which creates the network namespace fails on Travis with permission denied, even though it supposedly shouldn't need any special permissions on any recent version of linux. This...

I'm calling `LndSwaggerClient.CloseChannelAsync`. The response I'm getting from lnd is: ``` {"result":{"close_pending":{"txid":"WlbkadALmDboZFa94uXU/g2IhANqirhx2QlLeMlytFw=","output_index":0}}} {"result":{"chan_close":{"closing_txid":"WlbkadALmDboZFa94uXU/g2IhANqirhx2QlLeMlytFw=","success":false}}} ``` The swagger client fails to parse this response and throws an exception: ``` System.AggregateException : One...

I want to take a slice of bytes and get the longest prefix of the slice which is valid utf8. My use case is that I'm reading utf8 data from...

T-libs-api

Sorry if there's already and issue for this, but I couldn't find one. On many occasions I've wanted to use macros to generate `match` branches. eg. ```rust match x {...

T-lang
A-macros
A-syntax
A-patterns
A-control-flow