Skip to content

About RISCV preliminary support #343

@mengzhuo

Description

@mengzhuo

I'v tried building binary and run cmd testcases on my bananapi-f3, and it works great!

#uname -a
Linux bpi-f3-2 6.6.63 #2.1.0.2 SMP PREEMPT Fri Jan 24 03:39:48 UTC 2025 riscv64 riscv64 riscv64 GNU/Linux

#go version
go version go1.24.2 linux/riscv64

#cd cmd/humanlog && go test ./... -v
=== RUN   TestSetValue                                                           
=== RUN   TestSetValue/runtime.skip_check_for_updates=false                      
=== RUN   TestSetValue/runtime.skip_check_for_updates=false#01                   
=== RUN   TestSetValue/runtime.skip_check_for_updates=null                       
--- PASS: TestSetValue (0.01s)                                                   
    --- PASS: TestSetValue/runtime.skip_check_for_updates=false (0.01s)          
    --- PASS: TestSetValue/runtime.skip_check_for_updates=false#01 (0.00s)       
    --- PASS: TestSetValue/runtime.skip_check_for_updates=null (0.00s)           
=== RUN   TestApplyConfigFromConfigFile_when_one_of_skip_or_keep_is_given        
--- PASS: TestApplyConfigFromConfigFile_when_one_of_skip_or_keep_is_given (0.02s)
=== RUN   Test_int64toLightRGB                                                   
=== RUN   Test_int64toLightRGB/#00                                               
--- PASS: Test_int64toLightRGB (0.00s)                                           
    --- PASS: Test_int64toLightRGB/#00 (0.00s)                                   
=== RUN   Test_int64toDarkRGB                                                    
=== RUN   Test_int64toDarkRGB/#00                                                
--- PASS: Test_int64toDarkRGB (0.00s)                                            
    --- PASS: Test_int64toDarkRGB/#00 (0.00s)                                    
=== RUN   Test_getPrefix                                                         
=== RUN   Test_getPrefix/#00                                                     
--- PASS: Test_getPrefix (0.00s)                                                 
    --- PASS: Test_getPrefix/#00 (0.00s)                                         
PASS                                                                             
ok      github.com/humanlogio/humanlog/cmd/humanlog

#git log HEAD | head

commit 838c37a6bda278684424de9e5692a3397e5597a1     
Author: Antoine Grondin <antoinegrondin@gmail.com>  
Date:   Mon Jun 9 22:46:42 2025 +0800               
                                                    
    feat(version): catch the `humanlog version` call

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions