Michal Nazarewicz
Michal Nazarewicz
Ah, sorry, I was reading this Issue thinking this was bs58 repository. Indeed, with base64 the last paragraph is not relevant.
> and convert UV to chroma and hue using trigonometry. Yeah, don’t do that. If you insist on not using [CIE DE2000](https://en.wikipedia.org/wiki/Color_difference#CIEDE2000) use Euclidean distance in LAB or LUV space.
> At the lowest level, I think tests that trigger an ignore should just return a TestResult::Ignore instance. Where would the `TestResult` enum be defined? There’s no `std::test` module. >...
I can replace global allocator with `custom-heap` but that’s not what I’m after. I need to perform actions early to initialise the allocator before any other code executes. See [Solana...
I suppose that would work but then the issue is that other crates might assume that if they enable `no-entrypoint` feature they will get all the accounts and instructions definitions...
Yes, that’s a good point, I think it’ll work. Let’s close this for now.
I’m reopening this because I think this is a bit too convoluted without explicit support from Anchor. If I define `my-custom-entrypoint` feature as suggested, in certain setups there’s no obvious...
The problem is that Anchor’s Result is in prelude and importing everything in prelude is recommended way to write Anchor programs (in fact some Anchor macros require it IIRC). The...
I don’t understand what you mean by ‘having a known error type’. With my proposed change the error type would still be known.
When you write `Result` you still have Anchor’s Error type. Nothing changes on that front.