DIP 1028 dub packages test package "sml"
WebFreak001
d.forum at webfreak.org
Sun Jan 5 10:30:37 UTC 2020
On Sunday, 5 January 2020 at 03:04:38 UTC, Steven Schveighoffer
wrote:
> On 1/4/20 4:40 PM, WebFreak001 wrote:
>> On Saturday, 4 January 2020 at 20:58:46 UTC, JN wrote:
>>> On Saturday, 4 January 2020 at 15:19:39 UTC, WebFreak001
>>> wrote:
>>>> I have done this for all dub packages now so everyone can
>>>> review what this change actually does to their packages:
>>>>
>>>> https://i.webfreak.org/safe-test/index.html
>>>>
>>>
>>> Looking at the error log, looks like most of the packages are
>>> failing here:
>>>
>>> /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/bitmanip.d(64): Error: cast from `char[]` to `string` not allowed in safe code
>>>
>>> A single fix here might unblock a large chunk of projects.
>>
>> that thing has a fix PR now, with it applied it looks much
>> better:
>>
>> https://github.com/dlang/phobos/pull/7343#issuecomment-570820743
>>
>> https://i.webfreak.org/safe-test/phobos-7343.html
>>
>> Will update index.html once it's merged
>
> Hmm.... I see arsd-official passes. I have trouble believing
> that. I see a number of safety violations, is this right?
>
> -Steve
$ dub build --build=syntax
Performing "syntax" build using /usr/bin/dmd for x86_64.
arsd-official 5.0.0+commit.5.ga023662: building configuration
"library"...
it doesn't test subPackages yet but just the "package.d" with 1
line of code being "module arsd" compiles fine with @safe by
default
More information about the Digitalmars-d
mailing list