Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Arch Type" is empty on startup #457

Open
ahmetsait opened this issue Jun 8, 2023 · 3 comments
Open

"Arch Type" is empty on startup #457

ahmetsait opened this issue Jun 8, 2023 · 3 comments
Labels

Comments

@ahmetsait
Copy link

I have the following .vscode/setting.json (notice: "archType": "$current")

{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "dub",
			"run": false,
			"cwd": "${workspaceFolder}",
			"compiler": "$current",
			"archType": "$current",
			"buildType": "$current",
			"configuration": "$current",
			"problemMatcher": [
				"$dmd"
			],
			"group": {
				"kind": "build",
				"isDefault": true
			},
			"label": "dub: Build kc",
			"detail": "dub build",
			"presentation": {
				"reveal": "always",
				"revealProblems": "onProblem",
				"focus": false,
				"panel": "dedicated",
				"showReuseMessage": false
			}
		}
	]
}

If I do "Terminal > Run Build Task..." with this setup I get:

 *  Executing task: 'dub' 'build' '--compiler=ldc2' '--arch=' '--build=debug' '--config=debug' 

       Error Error processing arguments: Missing value for argument --arch=.
             Run 'dub help' for usage information.

 *  The terminal process "/usr/bin/bash '-c', ''dub' 'build' '--compiler=ldc2' '--arch=' '--build=debug' '--config=debug''" failed to launch (exit code: 1).

I think this "arch" setting should initialize to the current native target instead of being empty, similar to other settings (build type, config etc.)

@WebFreak001
Copy link
Member

are you using the stable serve-d or have you configured it to use beta or nightly? If not, try out setting d.servedReleaseChannel to beta or nightly and reload the window.

@ahmetsait
Copy link
Author

@WebFreak001 I'm using nightly.

@WebFreak001 WebFreak001 added the bug label Jun 8, 2023
@VlasovRoman
Copy link

Agree, a i have same trouble. Nightly, 12/26/2023 12:16 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants